Skip to content

Crash in luabridge::Stack<int>::get #289

@liuaifu

Description

@liuaifu

The type of the value at index -1 is double.

auto is_int = luabridge::Stack<int>::isInstance(L, -1);    // true
auto value = luabridge::Stack<int>::get(L, -1);            // crash

I'm using Lua v5.4.4 and LuaBridge v2.7.207 on Windows 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions