diff --git a/source/lumars/state.d b/source/lumars/state.d index bd5b928..f56f90b 100644 --- a/source/lumars/state.d +++ b/source/lumars/state.d @@ -513,7 +513,6 @@ struct LuaState lua_pushcfunction(this.handle, value); else static if(isDelegate!T) { - version(LDC) static assert(false, "For some reason, delegate support under LDC crashes. See issue: https://github.com/BradleyChatha/lumars/issues/10"); // @suppress(dscanner.style.long_line) lua_pushlightuserdata(this.handle, value.ptr); lua_pushlightuserdata(this.handle, value.funcptr); lua_pushcclosure(this.handle, &luaCWrapperSmart!(T, LuaFuncWrapperType.isDelegate), 2); @@ -886,4 +885,4 @@ unittest state.doString(code, _G1); state.doString(code, _G2); -} \ No newline at end of file +}