Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005995OCamlOCaml generalpublic2013-04-21 13:522015-12-11 13:00
ReporterChristophe Troestler 
Assigned Tofrisch 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSDebian/LinuxOS Version3.9.0
Product Version4.00.1 
Target Version4.03.0+devFixed in Version4.03.0+dev 
Summary0005995: Uncaught exceptions & packing
DescriptionWhen packing a module B into a module A, the exceptions, say E, declared in B must be of course accessed as A.B.E. However, when the exception is uncaught, what is printed on screen is B.E instead of A.B.E which may be confusing...
TagsNo tags attached.
Attached Files

- Relationships
related to 0006506acknowledged -for-pack seems to be broken in some cases 

-  Notes
(0009168)
lefessan (developer)
2013-04-21 15:15

I can confirm the issue is present with native code.

The problem is that, since -for-pack is optional with bytecode, fixing this issue would introduce a difference between the execution in bytecode and native code.

Maybe it should be fixed both for bytecode and native code when -for-pack is provided.
(0013339)
doligez (administrator)
2015-02-24 23:39

We should definitely fix it for both when -for-pack is provided, then remove the sentence in the documentation that makes -for-pack optional for bytecode.
(0015117)
frisch (developer)
2015-12-11 11:53

Commit a24e4ed: fix the naming of exception when compiling with -for-pack.
(0015118)
frisch (developer)
2015-12-11 13:00

Commit a9854a4a3e55390809b6554d580af972b3f9ce90: document -for-pack as mandatory for ocamlc.

- Issue History
Date Modified Username Field Change
2013-04-21 13:52 Christophe Troestler New Issue
2013-04-21 15:15 lefessan Note Added: 0009168
2013-04-21 15:15 lefessan Status new => confirmed
2013-07-12 15:19 doligez Target Version => 4.02.0+dev
2013-07-12 18:15 doligez Target Version 4.02.0+dev => 4.01.1+dev
2014-05-25 20:20 doligez Target Version 4.01.1+dev => 4.02.0+dev
2014-07-30 14:01 doligez Target Version 4.02.0+dev => 4.02.1+dev
2014-08-18 15:16 doligez Relationship added related to 0006506
2014-09-04 00:25 doligez Target Version 4.02.1+dev => undecided
2014-09-24 16:55 doligez Priority normal => low
2014-09-24 16:55 doligez Target Version undecided => 4.02.2+dev / +rc1
2015-02-24 23:39 doligez Note Added: 0013339
2015-02-24 23:39 doligez Target Version 4.02.2+dev / +rc1 => 4.02.3+dev
2015-07-10 19:07 doligez Target Version 4.02.3+dev => 4.03.0+dev
2015-12-11 11:53 frisch Note Added: 0015117
2015-12-11 13:00 frisch Note Added: 0015118
2015-12-11 13:00 frisch Status confirmed => resolved
2015-12-11 13:00 frisch Fixed in Version => 4.03.0+dev
2015-12-11 13:00 frisch Resolution open => fixed
2015-12-11 13:00 frisch Assigned To => frisch


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker