rescript-compiler
rescript-compiler copied to clipboard
syntax: catch Syntaxerr.Variable_in_scope from locally abstract type …
…annotation to avoid crash; emit diagnostic instead (fixes #7850)
- Wrap varify_constructors call and surface friendly error
- Add super-error fixture for ticked params under type ... .
Refs: rescript-lang/rescript#7850