[Issue 995] compile-time function return element of Tuple / const array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 9 01:48:40 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=995
------- Comment #3 from bugzilla at digitalmars.com 2007-03-09 03:48 -------
The first example is not a bug; tuples must be evaluatable at compile time, and
i of retsth(i) is not known at compile time when object code is generated for
it. The other two are bugs.
--
More information about the Digitalmars-d-bugs
mailing list