Bug 14184 – Cannot resolve type for lambda stringof in constructor

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-15T21:06:31Z
Last change time
2024-12-13T18:40:23Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Peter Alexander
Moved to GitHub: dmd#17697 →

Comments

Comment #0 by peter.alexander.au — 2015-02-15T21:06:31Z
---------------------------- alias id(alias a) = a; struct A(alias f) { alias g = id!(a => f(a)); this(int) { g.stringof; } } A!(a => a) x; ---------------------------- bug.d(6): Error: cannot resolve type for this.__lambda3 bug.d(10): Error: template instance bug.A!((a) => a) error instantiating
Comment #1 by robert.schadek — 2024-12-13T18:40:23Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17697 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB