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

OP_TOALTSTACK OP_FROMALTSTACK opcodes #105

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

KhairallahA
Copy link

Implemented OP_TOALTSTACK and OP_FROMALTSTACK for #48

@KhairallahA
Copy link
Author

Hi @tdelabro, can you check this please, I had problems merging in the previous pr and closed it

Comment on lines +281 to +282
/// # Returns
/// - `EngineError`: If an error occurs during execution
Copy link
Collaborator

Choose a reason for hiding this comment

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

rather than this comment, write the error type in the function signature:
EngineError!void

it will give the same information to the user, more to the compiler, and the language server allow you to jump to the error type

Copy link
Author

Choose a reason for hiding this comment

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

@tdelabro makes sense, I added EngineError!void

src/script/engine.zig Outdated Show resolved Hide resolved
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