On Wed, Mar 28, 2012 at 19:19, Andrej Mitrovic <[email protected]> wrote: > Also asModule seems to have stopped generating valid modules since the > last time I've tried it. I keep getting this error when importing a > generated file: > > arithmetic.d(44): Error: undefined identifier module arithmetic.empty > arithmetic.d(31): called from here: > parse(Input(input,Pos(0u,0u,0u),AssociativeList(null))) > simpleTest.d(30): called from here: parse("2/(8*7988+1*6196-y)") > Failed: "dmd" "-w" "-wi" "-v" "-o-" "simpleTest.d" "-I."
Ah, I'm preparing a future switch to ranges and changed 'arr.length == 0' calls to 'arr.empty'. I forgot to put an 'import std.array;' at the beginning of 'asModule()( I guess. OK, it's done and on Github. Thanks for the headup!
