diff --git a/tl.lua b/tl.lua index b4376244..5d6d1feb 100644 --- a/tl.lua +++ b/tl.lua @@ -5315,6 +5315,7 @@ local function init_globals(lax) types = { a_type({ typename = "function", args = TUPLE({ THREAD, FUNCTION, NUMBER }), rets = TUPLE({}) }), a_type({ typename = "function", args = TUPLE({ FUNCTION, NUMBER }), rets = TUPLE({}) }), + a_type({ typename = "function", args = TUPLE({ NUMBER, NUMBER }), rets = TUPLE({ STRING, ANY }) }), }, }), ["getmetatable"] = a_gfunction(1, function(a) return { args = TUPLE({ a }), rets = TUPLE({ METATABLE(a) }) } end), diff --git a/tl.tl b/tl.tl index 09731638..26d1e161 100644 --- a/tl.tl +++ b/tl.tl @@ -5315,6 +5315,7 @@ local function init_globals(lax: boolean): {string:Variable}, {string:Type} types = { a_type { typename = "function", args = TUPLE { THREAD, FUNCTION, NUMBER }, rets = TUPLE {} }, a_type { typename = "function", args = TUPLE { FUNCTION, NUMBER }, rets = TUPLE {} }, + a_type { typename = "function", args = TUPLE { NUMBER, NUMBER }, rets = TUPLE { STRING, ANY } }, }, }, ["getmetatable"] = a_gfunction(1, function(a: Type): Type return { args = TUPLE { a }, rets = TUPLE { METATABLE(a) } } end),