Open ncordon opened 5 years ago
Minimal reproducer:
global x, \
y
From what I've seen, it seems that y
token has the same line number and the position fixer fails to match it against the token map. The consequence is that the node corresponding to y
has a line number, but no column or offset.
Next, ObjectToNode
helper kicks in during the pre-process stage and causes the error message that we see.
So it might be a bug in both SDK (causing the error) and the driver (wrong positions).
From the latest bblfsh logs we got this error:
Files that produced the error: