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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzi...@digitalmars.com
         Resolution|                            |INVALID


--- Comment #3 from Walter Bright <bugzi...@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: -------

Reply via email to