[Issue 9182] Forward reference error with static immutable struct members
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 14 02:35:39 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9182
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
Platform|x86 |All
Summary|[ICE](glue.c line 1235) |Forward reference error
|With static struct fields |with static immutable
| |struct members
OS/Version|Windows |All
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-01-14 21:35:29 EST ---
With 2.062 head it doesn't ice.
Now prints:
testx.d(3): Error: forward reference of variable F
or
testx.d(4): Error: variable testx.Foo.foos3 had semantic errors when compiling
If you move the lines around. I suspect this is a dupe of one of the other
forward reference bugs.
--
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