Ver código fonte

Fixed missing generation of ctor in iface. Fixes #427.

woollybah 6 anos atrás
pai
commit
f02ffec5e9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      ctranslator.bmx

+ 1 - 1
ctranslator.bmx

@@ -5306,7 +5306,7 @@ End Rem
 		
 			If Not classDecl.templateSource Then
 
-				If Not classDecl.attrs & CLASS_INTERFACE Then
+				If Not (classDecl.attrs & CLASS_INTERFACE) Then
 					Emit "-New()=" + Enquote("_" + classDecl.munged + "_New")
 				End If