Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing error from inline module path #247

Open
CarlOlson opened this issue Jun 14, 2024 · 0 comments
Open

Parsing error from inline module path #247

CarlOlson opened this issue Jun 14, 2024 · 0 comments

Comments

@CarlOlson
Copy link

I noticed syntax highlighting completely failed for a source file. This example prevents recovery after an error:

let _ =
  <Component
    values={values->Array.filter(value => value.A.B.c)}
    onChange={values => dispatch(SetValues(values))}
  />

Here is a simple example that does recover (but still has an error):

module A = {
  module B = {
    type t = {
      c: int
    }
  }
}

let fn = t => t.A.B.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant