浏览代码

Fixed deadly diagnostic.

Mark Sibly 9 年之前
父节点
当前提交
8df39db2b8
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/mx2cc/overload.monkey2

+ 0 - 2
src/mx2cc/overload.monkey2

@@ -164,8 +164,6 @@ Public
 
 Function FindOverload:FuncValue( funcs:Stack<FuncValue>,ret:Type,args:Type[] )
 
-	If (ret And ret.IsGeneric) Or AnyTypeGeneric( args ) Print "FindOverload - generic types"
-
 	Local candidates:=New Stack<FuncValue>
 	
 	For Local func:=Eachin funcs