2
0
Justin Donaldson 8 жил өмнө
parent
commit
fa31c5f451

+ 1 - 2
std/lua/lib/lrexlib/Rex.hx

@@ -26,8 +26,7 @@ import haxe.extern.EitherType;
 @:luaRequire("rex_pcre")
 extern class Rex {
 
-	@:overload(          function       (expr : String, flag : Int) : Rex{})
-	inline public static function create(expr : String, flag : String) : Rex{
+	inline public static function create(expr : String, flag : EitherType<Int,String>) : Rex{
 		return untyped Rex['new'](expr, flag);
 	}