Explorar o código

Allow copy for semanted newarrayexpr. Fixes #295.

woollybah %!s(int64=8) %!d(string=hai) anos
pai
achega
cbb7d0412c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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])