GDC vs DMD 0.164

davidl davidl at 126.com
Wed Aug 16 05:48:26 PDT 2006


Hey I can't compile miniD in DMD 0.164 and 0.163.
in the directory svnrepo\minid\trunk run the command:

D:\DIGITA~1\dmd\dsource\minid\trunk\minid>svn update
At revision 52.

D:\DIGITA~1\dmd\dsource\minid\trunk\minid>svn status

D:\DIGITA~1\dmd\dsource\minid\trunk\minid>cd ..

D:\DIGITA~1\dmd\dsource\minid\trunk>build minid\compiler.d
minid\state.d(42): no property 'Type' for type 'MDValue'
minid\state.d(42): MDValue.Type is used as a type
minid\state.d(42): cannot have parameter of type void
minid\state.d(47): no property 'Type' for type 'MDValue'
minid\state.d(47): MDValue.Type is used as a type
minid\state.d(47): cannot have parameter of type void
minid\types.d(73): enum MM is forward referenced

but i test that usage in my file doesn't generate that compile error...
with a static public enum Type inside a struct and then a class method in  
another module use that Type as its parameter's type won't generate that  
error..

really confused.

在 Wed, 16 Aug 2006 14:59:48 +0800,Gregor Richards <Richards at codu.org> 写 
道:





-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/



More information about the D.gnu mailing list