Commit graph

2 commits

Author SHA1 Message Date
Nick Treleaven
57e36ee22d
Fix aliasing function type returning a Type with TypeSuffixes (#15805)
Fix Issue 24206 - Can't alias a function type that returns a type with a TypeSuffix

Add isTypeSuffix() function.
This also means a function type with a TypeCtor is now deprecated, just
like a function pointer type with a TypeCtor.

This gives a better error message and simplifies the code.
2023-11-14 07:08:44 +08:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Renamed from test/fail_compilation/test22048.d (Browse further)