Commits

Iain Buclaw committed 5358186

Issue #321 - internal compiler error: in toCtype

  • Participants
  • Parent commits dea7e43

Comments (0)

Files changed (1)

                 for (size_t i = 0; i < sym->members->dim; i++)
                 {
                     EnumMember * member = (sym->members->tdata()[i])->isEnumMember();
-                    gcc_assert(member);
+                    // Templated functions can seep through to the backend - just ignore for now.
+                    if (member == NULL)
+                        continue;
 
                     char * ident = NULL;
                     if (sym->ident)