import std.algorithm; alias reduce!((a, b){ return 1; }) foo; void main() { foo([1, 2, 3]); } Error: delegate test.__dgliteral1!(int,int).__dgliteral1 is a nested function and cannot be accessed from reduce This will work however: import std.algorithm; void main() { alias reduce!((a, b){ return 1; }) foo; foo([1, 2, 3]); } I can't tell whether this is a bug or something subtle that I don't understand.
https://github.com/D-Programming-Language/dmd/commit/89c261bbf07842e05dc8a58a7e7bfcdcc5a406b8 https://github.com/D-Programming-Language/dmd/commit/9487b3ddbb1498afa2dc76f41ad20f4b88d73889
I think you accidentally a number and referenced 6429 instead of 6419. That pull doesn't fix this issue.
The first example also fails with 2.059 Win32... unless using the -inline flag !
Seems fixed in 2.060.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル