Skip to content

Commit

Permalink
fix all rets in debug.getlocal
Browse files Browse the repository at this point in the history
  • Loading branch information
JLPLabs LLC committed Nov 1, 2023
1 parent a379928 commit 23aadc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tl.tl
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
},
},
Expand Down

0 comments on commit 23aadc7

Please sign in to comment.