Original bug ID: 5995 Reporter:@Chris00 Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2017-02-16T14:18:15Z) Resolution: fixed Priority: low Severity: minor Platform: x86_64 OS: Debian/Linux OS Version: 3.9.0 Version: 4.00.1 Target version: 4.03.0+dev / +beta1 Fixed in version: 4.03.0+dev / +beta1 Category: ~DO NOT USE (was: OCaml general) Related to:#6506 Monitored by:@hcarty
Bug description
When 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...
The text was updated successfully, but these errors were encountered:
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.
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.
Original bug ID: 5995
Reporter: @Chris00
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2017-02-16T14:18:15Z)
Resolution: fixed
Priority: low
Severity: minor
Platform: x86_64
OS: Debian/Linux
OS Version: 3.9.0
Version: 4.00.1
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Related to: #6506
Monitored by: @hcarty
Bug description
When 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...
The text was updated successfully, but these errors were encountered: