Closed banacorn closed 6 years ago
If this is about Atom, see https://github.com/atom/atom/issues/17777
Thank you @Aerijo, it definitely has something to do with Atom's versions.
But this is what is confusing me:
tree-sitter@0.13.x
tree-sitter@0.12.x
Why?
But this is what is confusing me: Atom 1.29 production mode: works with tree-sitter@0.13.x Atom 1.29 development mode: works with tree-sitter@0.12.x
I don't think that's true. Dev mode has nothing to do with the Tree-sitter ABI version. It's probably just that when you're running Atom in --dev
mode, it's probably running different code than what's in Atom 1.29.
@banacorn I'm going to close this out since it's about Atom. If you have further questions, see the issue that @Aerijo mentioned.
Packages such as tree-sitter-python and tree-sitter-ruby have upgraded to
tree-sitter-cli@0.13.x
. I've also upgrade tree-sitter-agda totree-sitter-cli@0.13.x
and published it.Everything looks fine ... until I switched to the development mode on
Atom 1.29.0
, where I would get error messages like:I've encountered this problem before and I've noticed that Atom 1.29.0 is using
tree-sitter-cli@0.12.12
. So as I downgraded mytree-sitter-cli
to0.12.12
, the incompatible language version problem went away as expected.However, I still have a few questions:
tree-sitter-cli@0.13.x
working fine in production mode but not in development mode?tree-sitter-cli
should I stick to?0.12.12
in this case0.13.x
in this case