Created attachment 376 [details] Fix the problem (dmd 2.030) TemplateInstance::semanticTiargs() does not expand tuples which are passed as expressions (e.g. TypeExp). As a result, this valid code causes an ICE: -------------------- import std.typetuple; template List(lst...) { alias lst list; } alias TypeTuple!(List!(void)) A; alias TypeTuple!(A[0].list) B; -------------------- ta = 39, (int) assert template.c(4088) global.errors --------------------
Also ICEs in the same place in DMD1.043. BTW - Great work!
This patch also fixes bug 884. It doesn't fix 2884, though, which ICEs at the same place.
Fixed dmd 1.046 and 2.031
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル