[Issue 3921] Compile time evaluation requirements not well-specified
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 23 15:41:44 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3921
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |INVALID
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2012-01-23 15:41:42 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Quoting the spec:
> >
> > "In order to be executed at compile time, the function must appear in a context
> > where it must be so executed"
> >
> > Note the word MUST. I don't see anything in the spec to indicate that it is
> > optional.
> No, the language above says that the correct function context is necessary, not
> sufficient. CTFE won't succeed unless the condition is met. It definitely
> does not say that the compiler is required to try.
The second 'must' covers 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