string[] foo(string[] a) { a[0] = a[0][0..$]; return a; } enum var = foo([""]); > dmd test.d Stack overflow
https://github.com/D-Programming-Language/dmd/commit/b8a06d7915d4b8b4f0ee4afcbaacbded260a385f https://github.com/D-Programming-Language/dmd/commit/1c6b768bc387072dd6060f67faa8cf2b7e00be16
OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address
(In reply to comment #2) > OPTLINK : Warning 23: No Stack > OPTLINK : Warning 134: No Start Address That's because there's no main() function in the source code.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル