[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-07-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7385 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-07-14 07:40:38 PDT --- (In reply to comment #1) This bug also bypasses gagging: void main() { immutable double[] nums = [1.0, 2.0]; static assert(!is(typeof({ nums[] /=

[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-07-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7385 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #4

[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-07-14 Thread d-bugmail
/ab7dd67616d93585da5748646cd1f1070480a88f fix Issue 7385 - Bad error message missing line number on invalid array op that isn't special cased This also fixes the problem of commented out test for issue 4662. Just calling error() function cannot stop the code generation while gagging errors. If errors exist, we should return ErrorExp

[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-07-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7385 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7385 SomeDude lovelyd...@mailmetrash.com changed: What|Removed |Added CC|

[Issue 7385] Bad error message missing line number on invalid array op that isn't special cased

2012-01-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7385 --- Comment #1 from yebblies yebbl...@gmail.com 2012-01-28 19:49:48 EST --- This bug also bypasses gagging: void main() { immutable double[] nums = [1.0, 2.0]; static assert(!is(typeof({ nums[] /= nums[]; }))); } Still prints the