Browse Source

Allow copy for semanted newarrayexpr. Fixes #295.

woollybah 8 years ago
parent
commit
cbb7d0412c
1 changed files with 1 additions and 1 deletions
  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])