Add LUA_TINTEGER support for Luau 0.715 compatibility#11
Merged
Conversation
Agent-Logs-Url: https://github.com/sssooonnnggg/luau-debugger/sessions/25b73c6f-b78c-422a-80cf-934b740f455e Co-authored-by: sssooonnnggg <4926092+sssooonnnggg@users.noreply.github.com>
- Add Integer type handler in lua_types.h for the new LUA_TINTEGER type - Register Integer in RegisteredTypes for proper debugger display - Update variable.cpp addField to handle LUA_TINTEGER table keys - Add build-* pattern to .gitignore Agent-Logs-Url: https://github.com/sssooonnnggg/luau-debugger/sessions/25b73c6f-b78c-422a-80cf-934b740f455e Co-authored-by: sssooonnnggg <4926092+sssooonnnggg@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Try compiling the latest Luau code
Add LUA_TINTEGER support for Luau 0.715 compatibility
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Luau 0.715 introduced a new
LUA_TINTEGERtype for 64-bit integers. The debugger's type system didn't handle it, causing integer64 values to display as "unknown" during debugging.Changes
debugger/src/internal/utils/lua_types.h— AddIntegertype handler usinglua_tointeger64(), register it inRegisteredTypesdebugger/src/internal/variable.cpp— HandleLUA_TINTEGERtable keys inaddFieldso indexed access works correctly for integer64 keys.gitignore— Addbuild-*patternVerified building against Luau 0.715 with both GCC 13 and Clang 18.