Skip to content

Commit

Permalink
fix: fixed compile with newer luau
Browse files Browse the repository at this point in the history
  • Loading branch information
sssooonnnggg committed Jan 20, 2025
1 parent 9a43dcd commit a8bcaeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions debugger/src/internal/scope.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ class Scope final {
static Scope createTable(lua_State* L, int index = -1) {
const TValue* t = luaA_toobject(L, index);
auto* address = hvalue(t);
auto scope = createFromAddress<Table>(L, index, address);
auto scope = createFromAddress(L, index, address);
scope.type_ = ScopeType::Table;
return scope;
}

static Scope createUserData(lua_State* L, int index = -1) {
const TValue* u = luaA_toobject(L, index);
auto* address = uvalue(u);
auto scope = createFromAddress<Udata>(L, index, address);
auto scope = createFromAddress(L, index, address);
scope.type_ = ScopeType::UserData;
return scope;
}
Expand Down
4 changes: 2 additions & 2 deletions extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "luau-debugger",
"displayName": "Luau Debugger Extension",
"version": "0.1.12",
"version": "0.1.13",
"publisher": "sssooonnnggg",
"description": "Luau debugger",
"author": {
Expand Down Expand Up @@ -160,4 +160,4 @@
},
"main": "./out/extension.js",
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}

0 comments on commit a8bcaeb

Please sign in to comment.