I think it should just print an error "A is not a type". -------- Assertion failure: 'deco' on line 540 in file 'mtype.c' abnormal program termination -------- char[] f(A...)(A a) { return A.mangleof; } void main() { int b = f(3); }
Fixed 0.174.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail@puremagic.com schrieb am 2006-11-06: > http://d.puremagic.com/issues/show_bug.cgi?id=483 > I think it should just print an error "A is not a type". > -------- > Assertion failure: 'deco' on line 540 in file 'mtype.c' > > abnormal program termination > -------- > char[] f(A...)(A a) > { > return A.mangleof; > } > > void main() > { > int b = f(3); > } Added to DStress as http://dstress.kuehne.cn/nocompile/m/mangleof_18_A.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZYQhLK5blCcjpWoRAoC1AJ9erbStgxuxoOju69NKbhvs/ChlkwCfRMhU RR8bVp13NogS5ChNVtyW7Z0= =I9m1 -----END PGP SIGNATURE-----
dlang-community/dfmt pull request #495 "Fix issue 483: indent continuing case statements on the same level" was merged into master: - 2da9a0d7257eed05b650799facb85e133d4b3ac9 by Mathis Beer: Fix issue 483: indent continuing case statements on the same level https://github.com/dlang-community/dfmt/pull/495