[Bug 152] New: ICE, CtorDeclaration::semantic(Scope*): Assertion `tf && tf->ty == Tfunction' failed

via D.gnu d.gnu at puremagic.com
Sun Aug 17 00:00:36 PDT 2014


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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140817/a6c4937b/attachment.html>


More information about the D.gnu mailing list