https://issues.dlang.org/show_bug.cgi?id=14743
Issue ID: 14743
Summary: dmd: template.c:6926: int
TemplateInstance::needsTypeInference(Scope*,
int)::ParamNeedsInf::fp(Dsymbol*): Assertion
`td->semanticRun != PASSinit' failed.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
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)() {}
}
--