[Issue 1592] New: dmd fail to resolve class symbol when i put files in a package
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 17 22:17:06 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1592
Summary: dmd fail to resolve class symbol when i put files in a
package
Product: D
Version: 1.022
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: davidl at 126.com
extract the files to a directory in folder abc, and compile it with the command
dmd -c abc\mod.d
abc\sym.d(11): Error: identifier 'pack' is not defined
abc\sym.d(11): Error: pack is used as a type
when these 3 files are not in folder abc and change their module declaration ,
and import , everything goes fine.
--
More information about the Digitalmars-d-bugs
mailing list