[Issue 8400] static array type cannot interpret dynamic array length
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 25 07:19:17 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8400
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |regression
--- Comment #5 from bearophile_hugs at eml.cc 2012-07-25 07:19:15 PDT ---
(In reply to comment #4)
> > That code should not compile, in my opinion.
>
> The rule is, in any circumstance where a compile-time value is required, it
> will attempt to interpret it at compile time. If it fails, it is an error.
I am not sure, but I think you are agreeing with me, so I mark this as a
regression.
> Global variables with initializers always have the initializer CTFE'd.
OK.
--
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