D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 483 - ICE-invalid with tuple. mangleof.
Summary: ICE-invalid with tuple. mangleof.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P5 minor
Assignee: Walter Bright
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2006-11-06 03:25 UTC by Don
Modified: 2020-07-22 08:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Don 2006-11-06 03:25:22 UTC
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 Don 2006-11-16 08:08:16 UTC
Fixed 0.174.
Comment 2 Thomas Kühne 2006-11-23 04:58:35 UTC
-----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-----

Comment 3 Dlang Bot 2020-07-22 08:27:58 UTC
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