Browse Source

Allow copy for semanted newarrayexpr. Fixes #295.

woollybah 8 năm trước cách đây
mục cha
commit
cbb7d0412c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      expr.bmx

+ 1 - 1
expr.bmx

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