2
0
woollybah 7 жил өмнө
parent
commit
51e8a78793
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      expr.bmx

+ 1 - 1
expr.bmx

@@ -814,7 +814,7 @@ Type TNewObjectExpr Extends TExpr
 		Local it:TIdentType = TIdentType(ty)
 		Local iArgs:TExpr[] = SemantArgs(CopyArgs(args))
 
-		Local isNewSelf:Int = (it.ident = "self")
+		Local isNewSelf:Int = (it And it.ident = "self")
 		
 		ty=ty.Semant(True)
 		If Not ty Then