-
Notifications
You must be signed in to change notification settings - Fork 428
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
Declaring type name upper case blows up the editor #1691
Comments
chenglou
added a commit
to chenglou/reason
that referenced
this issue
Dec 9, 2017
Fixes reasonml#1691 This is because our public API says we only ever throw Syntaxerr.Error or Syntax_utils.Error. This caused https://github.com/facebook/reason/blob/731e605870e22fdcb3d37f3f963d346f18a072cc/bspacks/refmtJsApi.ml#L49 not to catch the extra Location.Error correctly and failing to massage the data structure before using it in the browser.
chenglou
added a commit
to chenglou/reason
that referenced
this issue
Dec 11, 2017
Fixes reasonml#1691 This is because our public API says we only ever throw Syntaxerr.Error or Syntax_utils.Error. This caused https://github.com/facebook/reason/blob/731e605870e22fdcb3d37f3f963d346f18a072cc/bspacks/refmtJsApi.ml#L49 not to catch the extra Location.Error correctly and failing to massage the data structure before using it in the browser.
chenglou
added a commit
to chenglou/reason
that referenced
this issue
Dec 11, 2017
Fixes reasonml#1691 This is because our public API says we only ever throw Syntaxerr.Error or Syntax_utils.Error. This caused https://github.com/facebook/reason/blob/731e605870e22fdcb3d37f3f963d346f18a072cc/bspacks/refmtJsApi.ml#L49 not to catch the extra Location.Error correctly and failing to massage the data structure before using it in the browser.
chenglou
added a commit
that referenced
this issue
Dec 11, 2017
* Not throw Location.Error in the parser Fixes #1691 This is because our public API says we only ever throw Syntaxerr.Error or Syntax_utils.Error. This caused https://github.com/facebook/reason/blob/731e605870e22fdcb3d37f3f963d346f18a072cc/bspacks/refmtJsApi.ml#L49 not to catch the extra Location.Error correctly and failing to massage the data structure before using it in the browser. * Document it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://reasonml.github.io/try/?reason=FAFwngDgpgBAGjAvMGMA+MASUA2OD2K6MAQjgIYBGFA3MEA
The text was updated successfully, but these errors were encountered: