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
Original bug ID: 6244 Reporter: Jason Assigned to:@gasche Status: closed (set by @gasche on 2013-11-19T23:37:24Z) Resolution: duplicate Priority: normal Severity: minor Version: 4.01.0 Category: ~DO NOT USE (was: OCaml general) Duplicate of:#5068
Bug description
I would find it very useful to be told what the syntax error is. For example, in
let foo = 1;
let bar = 1
let baz = 1
I want to be told "Syntax error , found 'let', expecting 'in'", not just "Syntax Error". It would be even better if it could say "expected non-top-level 'let bar = 1 let ...' to match syntax rule 'let name = value [and name = value]... in'", but I'd be satisfied with being told what the possible valid tokens are.
The text was updated successfully, but these errors were encountered:
This is indeed a valid remark, we've a few bug open about that already. Work could/should be done to improve that, but we haven't found the time to work on it yet.
Original bug ID: 6244
Reporter: Jason
Assigned to: @gasche
Status: closed (set by @gasche on 2013-11-19T23:37:24Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 4.01.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #5068
Bug description
I would find it very useful to be told what the syntax error is. For example, in
let foo = 1;
let bar = 1
let baz = 1
I want to be told "Syntax error , found 'let', expecting 'in'", not just "Syntax Error". It would be even better if it could say "expected non-top-level 'let bar = 1 let ...' to match syntax rule 'let name = value [and name = value]... in'", but I'd be satisfied with being told what the possible valid tokens are.
The text was updated successfully, but these errors were encountered: