tree-sitter / tree-sitter-verilog

SystemVerilog grammar for tree-sitter
MIT License
93 stars 36 forks source link

Issue with Verilog Tree Sitter ValueError: Incompatible Language version 12. Must not be between 13 and 13 #53

Open lhendre opened 3 years ago

lhendre commented 3 years ago

I cloned this repo for the verilog language and am trying to use it with tree sitter; however I am getting the following error.

ValueError: Incompatible Language version 12. Must not be between 13 and 13

Tried to both manually change the version number and also go back to an older commit but didnt have much luck.

lhendre commented 3 years ago

Found a work around by using tree-sitter version 0.2.2. Trying that for the time being as a work around until I can find how o fix this issue and use the current version.

abradd commented 3 years ago

Were you regenerating the parser? What version of tree-sitter were you using?

I've used 0.19.5 in the past and I didn't have any issues. I did see some issues with 0.20.0, but never looking into it.

lhendre commented 3 years ago

I was using the most up to date version, will need to go back and grab the version number

lhendre commented 3 years ago

v0.20.0 is the one having issues

drom commented 3 years ago

Could you specify environment, in which issue is appears? OS, node version, etc.