瀏覽代碼

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

woollybah 6 年之前
父節點
當前提交
f02ffec5e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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