http://d.puremagic.com/issues/show_bug.cgi?id=4329
--- Comment #7 from Don <[email protected]> 2010-06-18 01:28:49 PDT --- And here are another seven cases I found. TEST CASE B: -------------- void bug4329b() { create!().havoc!(); delete something; mixin(chaos); } bug.d(25): Error: template instance template 'create' is not defined bug.d(25): Error: undefined identifier create!().havoc bug.d(25): Error: __error isn't a template bug.d(26): Error: undefined identifier something bug.d(26): Error: cannot delete type _error_ bug.d(27): Error: undefined identifier chaos bug.d(27): Error: argument to mixin must be a string, not (__error) bug.d(27): Error: argument to mixin must be a string, not (__error) TEST CASE C: -------------- void bug4329c() { delete and!(crash); } bug.d(33): Error: identifier 'crash' is not defined bug.d(33): Error: and!(_error_) is not an lvalue bug.d(33): Error: cannot delete type void TEST CASE D: -------------- void bug4329d() { make!(mess); switch(2) { case 3:.. case 6.7: case closed: } } bug.d(37): Error: identifier 'mess' is not defined bug.d(37): Error: make!(_error_) has no effect bug.d(39): Error: cannot implicitly convert expression (6.7) of type double to i nt bug.d(39): Error: first case 3 is greater than last case __error bug.d(40): Error: undefined identifier closed bug.d(40): Error: case must be a string or an integral constant, not __error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
