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[] /= nums[]; })));
> }
> 
> Still prints the error.

(In reply to comment #2)
> The second test no longer prints an error on 2.059

The test case doesn't print error without -O switch, but with -O:

$ dmd -O -run test
Error: variable p1 used before set
Error: variable p0 used before set

It's another problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to