Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006396OCamlOCaml typingpublic2014-05-06 18:202014-06-04 21:23
Reporterfrisch 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version4.02.0+dev 
Target Version4.03.0+devFixed in Version 
Summary0006396: Warnings-as-errors not properly flushed in the toplevel
DescriptionConsider:

$ ocaml -w +A -warn-error +A 
        OCaml version 4.02.0+dev5-2014-04-29

# class c = object   method x = 1   end;;
class c : object method x : int end
# class e = object inherit c  method x = 3 method f = 1 + "x" end;;
Warning 7: the method x is overridden.
Error: This expression has type string but an expression was expected of type
         int
# ();;
Error: Some fatal warnings were triggered (1 occurrences)


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-05-06 18:20 frisch New Issue
2014-05-21 17:40 doligez Target Version => 4.03.0+dev
2014-06-04 21:23 doligez Status new => confirmed
2014-06-04 21:23 doligez Product Version => 4.02.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker