Bug 483 – ICE-invalid with tuple. mangleof.

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P5
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-06T03:25:22Z
Last change time
2020-07-22T08:27:58Z
Keywords
ice-on-invalid-code
Assigned to
Walter Bright
Creator
Don

Comments

Comment #0 by clugdbug — 2006-11-06T03:25:22Z
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); }
Comment #1 by clugdbug — 2006-11-16T08:08:16Z
Fixed 0.174.
Comment #2 by thomas-dloop — 2006-11-23T04:58:35Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] 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-----
Comment #3 by dlang-bot — 2020-07-22T08:27:58Z
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