Explorar el Código

Don't attempt to cast TIdentTypeExpr. Fixes #334.

woollybah hace 7 años
padre
commit
7429be1a87
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      expr.bmx

+ 4 - 0
expr.bmx

@@ -2450,6 +2450,10 @@ Type TIdentTypeExpr Extends TExpr
 		Return _trans.TransIdentTypeExpr( Self )
 	End Method
 
+	Method Cast:TExpr( ty:TType,castFlags:Int=0 )
+		Err "Unable to convert from Type to " + ty.ToString()
+	End Method
+
 End Type
 
 Type TIdentExpr Extends TExpr