There are some cases where positional information in identifiers covers the whole parameter declaration. Here is one of the failing cases: https://github.com/bblfsh/javascript-driver/blob/master/fixtures/ext_typedecl.js#L9 ```javascript const packageToBabelConfig = makeWeakCache( (file: ConfigFile): ConfigFile | null => { ``` In the AST positional info of the `file` identifier covers `file: ConfigFile` for some reason. See [TODO](https://github.com/bblfsh/javascript-driver/pull/51/files#diff-a0738f97f2aab299bd08b8075c2f0880R41).
There are some cases where positional information in identifiers covers the whole parameter declaration.
Here is one of the failing cases:
https://github.com/bblfsh/javascript-driver/blob/master/fixtures/ext_typedecl.js#L9
In the AST positional info of the
fileidentifier coversfile: ConfigFilefor some reason. See TODO.