Skip to content

Conversation

@Akeit0
Copy link
Collaborator

@Akeit0 Akeit0 commented Feb 13, 2025

#98

@Akeit0 Akeit0 mentioned this pull request Mar 6, 2025
var newException = new LuaRuntimeException(GetTracebacks(ref context), e);
var newException = new LuaRuntimeException(context.State.GetTraceback(), e);
context = default;
context.PopOnTopCallStackFrames();
Copy link

@CodeSmile-0000011110110111 CodeSmile-0000011110110111 Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context is default, calling a method on it will throw a nullref
maybe you wanted to pop first, then assign default? That seems to work for me but no idea if that's correct.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you seen this commit?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Akeit0 Akeit0 merged commit 9dc2d2c into nuskey8:main Apr 15, 2025
@Akeit0 Akeit0 deleted the fix-error-message branch August 30, 2025 05:35
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

Successfully merging this pull request may close these issues.

2 participants