[Issue 11907] No undeclared identifier error in lambda alias argument
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 4 17:36:22 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=11907
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
the diagnostic is better nowdays:
---
/tmp/temp_7F0C787490B0.d(5,5): Error: template instance
`temp_7F0C787490B0.main.f!((x) => blarg)` does not match template declaration
`f(alias a)()`
with `a = __lambda1`
must satisfy the following constraint:
` is(typeof(a()))`
---
good enough to close ?
--
More information about the Digitalmars-d-bugs
mailing list