Bug 14743 – ICE in TemplateInstance::needsTypeInference() with template forward reference
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-06-28T09:54:00Z
Last change time
2017-08-02T08:07:32Z
Keywords
ice, pull
Assigned to
nobody
Creator
useless_account99
Comments
Comment #0 by useless_account99 — 2015-06-28T09:54:23Z
I get the above error using DMD v2.067.1 on a Linux Mint 17.1 64-bit machine.
Can be reproduced with this code:
class A {
auto func1 = (A a) {a.func2!int;};
auto func2(T)() {}
}