www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Re: D port of dmd: Lexer, Parser, AND CodeGenerator fully operational

reply dnewbie <run3 myopera.com> writes:
Zach the Mystic - I can't compile it.
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit of type bool()
overrides but is no
t covariant with dmd.expression.Expression.isBit of type int()
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit does not override
any function


On Wed, Mar 7, 2012, at 10:09 PM, Zach the Mystic wrote:
 On Wednesday, 7 March 2012 at 21:06:25 UTC, Zach the Mystic wrote:
 On Wednesday, 7 March 2012 at 20:46:40 UTC, Andrej Mitrovic 
 wrote:
 Hi,

 which version of the compiler can this be built with?

 I get this with 2.058:
 dmd\binExp.d(324): Error: function dmd.binExp.EqualExp.isBit 
 of type
 bool() overrides but is not covariant with
 dmd.expression.Expression.isBit of type int()
 dmd\binExp.d(324): Error: function dmd.binExp.EqualExp.isBit 
 does not
 override any function

Well, I was using 2.057 But obviously you've found a bug I can fix rather quickly!

OK I think it's fixed. Zach

Mar 07 2012
parent "Zach the Mystic" <reachMINUSTHISzachgmail dot.com> writes:
On Wednesday, 7 March 2012 at 21:15:46 UTC, dnewbie wrote:
 Zach the Mystic - I can't compile it.

Still not working?
Mar 07 2012