http://bugzilla.gdcproject.org/show_bug.cgi?id=152
Bug ID: 152
Summary: ICE, CtorDeclaration::semantic(Scope*): Assertion `tf
&& tf->ty == Tfunction' failed
Product: GDC
Version: 4.9.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 74
--> http://bugzilla.gdcproject.org/attachment.cgi?id=74&action=edit
test case
when i try to compile my project, i got ICE with this message:
cc1d: ../../gcc-4.9.1/gcc/d/dfrontend/func.c:4048: virtual void
CtorDeclaration::semantic(Scope*): Assertion `tf && tf->ty == Tfunction'
failed.
(null):0: confused by earlier errors, bailing out
seems that it was caused by 'import' inside struct in piece.d. if i'll remove
that import, ICE disappears.
ICE will also disappear if i'll remove constructor in tree.d which causes
'undefined identifier' error.
--
You are receiving this mail because:
You are watching all bug changes.