diff --git a/tl.tl b/tl.tl index 26d1e1612..730712d24 100644 --- a/tl.tl +++ b/tl.tl @@ -5313,8 +5313,9 @@ local function init_globals(lax: boolean): {string:Variable}, {string:Type} ["getlocal"] = a_type { typename = "poly", 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 { THREAD, FUNCTION, NUMBER }, rets = STRING }, + a_type { typename = "function", args = TUPLE { THREAD, NUMBER, NUMBER }, rets = TUPLE { STRING, ANY } }, + a_type { typename = "function", args = TUPLE { FUNCTION, NUMBER }, rets = STRING }, a_type { typename = "function", args = TUPLE { NUMBER, NUMBER }, rets = TUPLE { STRING, ANY } }, }, },