[Issue 11727] [ICE] Returning an enum with no value from a function fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 12 03:51:18 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11727
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-12-12 22:51:16 EST ---
I get:
DMD v2.065 DEBUG
testx.d(4): Error: enum testx.returnEnum.n is forward referenced looking for
base type
testx.d(4): Error: enum testx.returnEnum.n is forward referenced looking for
base type
testx.d(4): Error: enum testx.returnEnum.n is forward referenced looking for
base type
testx.d(11): Error: incompatible types for ((returnEnum()) == (0)): 'n' and
'int'
With the latest compiler.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list