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: 6983 Reporter:@damiendoligez Status: closed (set by @alainfrisch on 2016-01-27T08:31:34Z) Resolution: won't fix Priority: low Severity: tweak Platform: all Version: 4.03.0+dev / +beta1 Target version: 4.03.0+dev / +beta1 Category: back end (clambda to assembly)
Bug description
When compiling object-oriented code with -nopervasives -nostdlib, the compiler crashes with "Fatal error". It should give a proper error message instead.
Steps to reproduce
$ cat >foo.ml
class c = object method m = 23 end;;
^D
$ ocamlc -nopervasives -nostdlib foo.ml
The text was updated successfully, but these errors were encountered:
Do we care enough to add a specific error message? -nopervasives is undocumented, and I'm not sure -nostdlib is used anywhere outside the build of the core system.
Original bug ID: 6983
Reporter: @damiendoligez
Status: closed (set by @alainfrisch on 2016-01-27T08:31:34Z)
Resolution: won't fix
Priority: low
Severity: tweak
Platform: all
Version: 4.03.0+dev / +beta1
Target version: 4.03.0+dev / +beta1
Category: back end (clambda to assembly)
Bug description
When compiling object-oriented code with -nopervasives -nostdlib, the compiler crashes with "Fatal error". It should give a proper error message instead.
Steps to reproduce
$ cat >foo.ml
class c = object method m = 23 end;;
^D
$ ocamlc -nopervasives -nostdlib foo.ml
The text was updated successfully, but these errors were encountered: