You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attached a different patch, which recognizes "_" in the "expr" grammar entry. This explicitly reserves this syntax in expression, which could be useful later (e.g. if add "implicits" to the language; or just as a placeholder for extension node expanders).
Original bug ID: 6400
Reporter: @whitequark
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2017-02-16T14:16:12Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Tags: patch
Child of: #5068
Monitored by: @gasche
Bug description
For example:
[{pstr_desc = Pstr_extension (extension_of_error error, _)}];;
Error: Syntax error: operator expected.
First, the error message makes no sense at all. Second, the `_' is underlined, which adds to the confusion.
File attachments
The text was updated successfully, but these errors were encountered: