2024-11-23 19:21 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000329mercuryBugpublic2014-05-13 15:33
Reporterlpimmes 
Assigned Tojuliensf 
PriorityurgentSeveritycrashReproducibilityalways
StatusresolvedResolutionduplicate 
PlatformMaverick 10.9OSOS XOS Version
Product Version 
Target VersionFixed in Version 
Summary0000329: Uncaught Mercury exception:
Description-library-version 1.0.2411.0 --host-env-type posix --target-env-type posix --unboxed-float -O2 --make --fully-strict -E -v -O 6 --use-subdirs --search-lib-files-dir . --init-file stringCut_lib.init --link-object libstringCut_lib.a --compile-to-c --use-subdirs stringCut'
Uncaught Mercury exception:
Software Error: map.lookup: key not found
    Key Type: string
    Key Value: "cutInfo"
    Value Type: tree234.tree234(parse_tree.prog_data.type_ctor, hlds.hlds_data.hlds_type_defn)
% Touching `Mercury/err_dates/stringCut.err_date'... done.
% Parsing module `stringCut' and imported interfaces...
% Module qualifying items...
% done.
Steps To ReproduceUnzip strgCut.zip
>make
... error appears

-------
Any ideas? Help would be appreciated.
stringCut_lib.m compiles OK
stringCut.m did compile this morning. Added cutInfo tracking.
Thanks.
TagsNo tags attached.
Attached Files

-Relationships
duplicate of 0000017resolvedzs no error for unknown types in interface if defined in implementation 
+Relationships

-Notes

~0000680

wangp (developer)

The interface of stringCut_lib mentions the type cutInfo but does not export it as an abstract type, i.e.

:- type cutInfo.

It is surprising that the compiler does not report an error.

~0000681

lpimmes (reporter)

Indeed, it works, i.e., compile and links, now!
Thank so much.
+Notes

-Issue History
Date Modified Username Field Change
2014-05-11 14:09 lpimmes New Issue
2014-05-11 14:09 lpimmes File Added: strgCut.zip
2014-05-12 18:05 wangp Note Added: 0000680
2014-05-12 21:27 lpimmes Note Added: 0000681
2014-05-13 15:33 juliensf Relationship added duplicate of 0000017
2014-05-13 15:33 juliensf Status new => resolved
2014-05-13 15:33 juliensf Resolution open => duplicate
2014-05-13 15:33 juliensf Assigned To => juliensf
+Issue History