ソースを参照

Always try to cast. Fixes #351.

woollybah 7 年 前
コミット
6eeb7ed538
1 ファイル変更0 行追加1 行削除
  1. 0 1
      expr.bmx

+ 0 - 1
expr.bmx

@@ -76,7 +76,6 @@ Type TExpr
 	'semant and cast
 	Method SemantAndCast:TExpr( ty:TType,castFlags:Int=0 )
 		Local expr:TExpr=Semant()
-		If expr.exprType.EqualsType( ty ) Return expr
 		Return New TCastExpr.Create( ty,expr,castFlags ).Semant()
 	End Method