Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007858OCamllexing and parsingpublic2018-10-03 15:142018-10-03 15:16
Reportergasche 
Assigned Todef 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version4.08.0+dev 
Target VersionundecidedFixed in Version 
Summary0007858: Bad error syntax on tuple with trailing comma
DescriptionConsider the input "(foo,);;"


4.07.0 behaves as follows:

    # (foo,);;
           ^
    Error: Syntax error: operator expected.


Trunk (4.08+dev) behaves as follows:

    # (foo,);;
           ^
    Error: Syntax error: ')' expected
    Line 1, characters 0-1: This '(' might be unmatched

Both messages are bad, but arguably the new one is even worse.
Tagssyntax-error-messages
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-10-03 15:14 gasche New Issue
2018-10-03 15:14 gasche Status new => assigned
2018-10-03 15:14 gasche Assigned To => def
2018-10-03 15:15 gasche Tag Attached: syntax-error-messages


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker