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 ibuclaw@gdcproject.org
Reporter ketmar@ketmar.no-ip.org

Created attachment 74 [details]
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: