--- int* f() out { } // no errors with `out` section body { immutable(int)* ptr; return ptr; } --- If `immutable(int)*` is changed to `immutable(void)*` we have the following error: `Error: cannot implicitly convert expression (ptr) of type immutable(void)* to const(int*)` illustrating the issue. Note, that `typeof(f())` and `typeof(return)` are `int*`. Maybe concerned with Issue 1313
I've posted a patch to fix 1313, and confirmed that this is a dup of it. *** This issue has been marked as a duplicate of issue 1313 ***
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル