[Issue 9055] Compiler bails out on initializing a variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 22 05:09:18 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9055



--- Comment #3 from Manfred Nowak <svv1999 at hotmail.com> 2012-11-22 05:09:15 PST ---
(In reply to comment #1)
> Is this a valid reduction of your code?
>     int bar() {
>     int x = bar();

Not at first glance.

1)
In your code the missing `this' is declared as the root of the bug report. In
my code `this' is present.

2)
In your code reversing the lexical sequence of call and declaration does not
change the error message. In my code reversing eliminates the bailing out. In
addition no error is reported.

-manfred

-- 
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