2
0
Эх сурвалжийг харах

Allow copy for semanted newarrayexpr. Fixes #295.

woollybah 8 жил өмнө
parent
commit
cbb7d0412c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      expr.bmx

+ 1 - 1
expr.bmx

@@ -988,7 +988,7 @@ Type TNewArrayExpr Extends TExpr
 	End Method
 	End Method
 
 
 	Method Copy:TExpr()
 	Method Copy:TExpr()
-		If exprType InternalErr
+		'If exprType InternalErr
 		Local cexpr:TExpr[expr.length]
 		Local cexpr:TExpr[expr.length]
 		For Local i:Int = 0 Until expr.length
 		For Local i:Int = 0 Until expr.length
 			cexpr[i] = CopyExpr(expr[i])
 			cexpr[i] = CopyExpr(expr[i])