rescript-compiler
rescript-compiler copied to clipboard
Recovery in completions
Proof of concept to find a cursor inside broken code. The idea is to have a second pass of the syntax tree after parsing. There we can update certain location, which streamlines the frontend completion phase.
Currently using the patternhole as found node in frontend completion. Next thing would be for that range to be present in the cmt file.