Explorar el Código

[lua] one more Rex tweak

Justin Donaldson hace 8 años
padre
commit
fa31c5f451
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      std/lua/lib/lrexlib/Rex.hx

+ 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);
 	}