[Issue 7846] Forward referenced storage class is not applied in certain cases
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 21 11:02:09 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7846
SomeDude <lovelydear at mailmetrash.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lovelydear at mailmetrash.com
--- Comment #1 from SomeDude <lovelydear at mailmetrash.com> 2012-04-21 11:03:06 PDT ---
I don't understand. I have to add const int x; at the beginning in order for
this test to pass.
Then I get:
PS E:\DigitalMars\dmd2\samples> dmd -c bug.d
const(int)
false
bug.d(11): Error: declaration bug.main.x is already defined
const(int)
false
--
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