[Issue 18646] Recursive template expansion incorrectly reported for certain templated classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 27 18:03:55 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=18646
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Priority|P3 |P1
CC| |ibuclaw at gdcproject.org
Hardware|x86_64 |All
OS|Mac OS X |All
Severity|normal |regression
--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Extra testcase:
---
struct A {
M2 stdin;
}
mixin template Handle(T, T invalid_value = T.init) {}
struct M1 { mixin Handle!(size_t); }
struct M2 { mixin Handle!(M1); }
--
More information about the Digitalmars-d-bugs
mailing list