Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unittest don't build with DMD 2.088 and up (don't know the actual fail point) #112

Open
JesseKPhillips opened this issue Jul 19, 2020 · 0 comments

Comments

@JesseKPhillips
Copy link
Contributor

Rather than accepting the C function as a LuaFunction, it is trying to convert the lua_state* argument.

I'm slightly leaning toward the attributes being assigned "pure nothrow @nogc @safe"

luad/stack.d(183,3): Error: static assert: "No Lua type defined for lua_State*"
luad/stack.d(224,23): instantiated from here: luaTypeOf!(lua_State*)
luad/stack.d(378,10): instantiated from here: getValue!(lua_State*, argumentTypeMismatch)
luad/conversions/functions.d(215,13): instantiated from here: getArgument!(extern (C) int function(lua_State*) pure nothrow @nogc @safe, 0)
luad/conversions/functions.d(248,23): ... (1 instantiations, -v to show) ...
luad/stack.d(133,15): instantiated from here: pushFunction!(extern (C) int function(lua_State*) pure nothrow @nogc @safe)
luad/stack.d(626,11): instantiated from here: pushValue!(extern (C) int function(lua_State*) pure nothrow @nogc @safe)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant