[Issue 2464] Correct error message causes incorrect error messages

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 [EMAIL PROTECTED] changed: What|Removed |Added Severity|minor |enhancement --- Comment #1 fr

[Issue 2464] Correct error message causes incorrect error messages

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 --- Comment #2 from [EMAIL PROTECTED] 2008-11-20 18:22 --- This isn't a matter of compiler internals being messed up -- this is consistent and, I believe, deliberate behavior. Unusual, but useful once you're used to it. Inserting a d

[Issue 2464] Correct error message causes incorrect error messages

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 --- Comment #3 from [EMAIL PROTECTED] 2008-11-20 18:30 --- Currently DMD gives an error type in this cases, which is just an alias to int. It would be nice if it were a type that acted as an int, or anything else, but didn't produce s

[Issue 2464] Correct error message causes incorrect error messages

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 --- Comment #4 from [EMAIL PROTECTED] 2008-11-20 20:04 --- re: #2 and #3: Good points, but this issue seems different to me. I understand why the compiler reports extra errors on code that uses a previously undefined variable: char[]

[Issue 2464] Correct error message causes incorrect error messages

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 --- Comment #5 from [EMAIL PROTECTED] 2008-11-20 20:37 --- Ah, right. I see that in FuncExp::semantic there's: --- if (global.errors) { if (!fd->type->next) fd->type->next = Type::terror; } --- Which basically says "If t

[Issue 2464] Correct error message causes incorrect error messages

2010-11-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2464 Don changed: What|Removed |Added Status|NEW |RESOLVED CC|