소스 검색

[lua] one more Rex tweak

Justin Donaldson 8 년 전
부모
커밋
fa31c5f451
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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);
 	}