[Issue 5790] "Error: variable result used before set" when -release -inline -O
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 12 01:12:11 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5790
--- Comment #9 from Kenji Hara <k.hara.pg at gmail.com> 2012-01-12 01:12:06 PST ---
(In reply to comment #8)
> Additional test case using only the -O flag and no -inline or -release flags
> necessary.
>
> import std.typecons;
>
> void main(string[] args) {
>
> // Errors
> auto i = Tuple!(string,string)("foo", "bar")[1];
>
> // Ok
> auto j = Tuple!(string,string)("foo", "bar");
> auto k = j[1];
> }
This is a dup of 7263. See it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list