[Issue 5996] [CTFE] Undefined function call in auto return function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 6 03:25:34 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5996
--- Comment #2 from bearophile_hugs at eml.cc 2011-07-06 03:20:22 PDT ---
(In reply to comment #1)
> Reduced test case:
My second example shows an error message with missing line number:
Error: array index 4294967295 is out of bounds [][0 .. 0]
I have reduced it to this, I think it's better to fix this before fixing your
reduced test case:
auto foo(int n) {
auto h = new typeof(something)[n];
return h[$];
}
enum uint f = foo(1);
void main() {}
--
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