http://d.puremagic.com/issues/show_bug.cgi?id=8589
--- Comment #6 from Kenji Hara 2013-03-10 21:02:31 PDT ---
(In reply to comment #5)
> > Also this won't work because '[]' will be typed as 'void[]':
>
> That would be a type inference bug.
Oh.. sorry, it is a today's limitation, not a bug.
-
http://d.puremagic.com/issues/show_bug.cgi?id=8589
--- Comment #5 from Kenji Hara 2013-03-10 20:55:04 PDT ---
(In reply to comment #4)
> Kenji, is this a parser bug?
>
> f(() => int[].init);
>
> test.d(11): Error: found '[' when expecting '.' following int
> test.d(11): Error: found ']' when
http://d.puremagic.com/issues/show_bug.cgi?id=8589
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=8589
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
/043d6926ef4f3d0e8f25c1f0d69891bf7f39bdd1
fix Issue 8589 - Incorrect conversion of function returning `typeof(null)` to
function returning an array
https://github.com/D-Programming-Language/dmd/commit/f2b02836d7680aa3d1c92f2541c98638dcb0f0f9
Merge pull request #1119 from 9rnsr/fix8589
Issue 8589 - Incorrect conversion of function
http://d.puremagic.com/issues/show_bug.cgi?id=8589
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Kenji Hara 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8589
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com