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

Add support for finally on try blocks on the compiler. #9

Open
NotJustAnna opened this issue Nov 14, 2021 · 1 comment
Open

Add support for finally on try blocks on the compiler. #9

NotJustAnna opened this issue Nov 14, 2021 · 1 comment
Labels
bug Something isn't working component:compiler This issue is related to the Compiler and/or Bytecode. help wanted Extra attention is needed TODO There's a TODO in code marking it.

Comments

@NotJustAnna
Copy link
Owner

com.github.adriantodt.lin.compiler.NodeCompiler#visitTryExpr(NodeCompiler:420):
image

Honestly, I don't have much idea on how to implement the finally block.

@NotJustAnna NotJustAnna added bug Something isn't working help wanted Extra attention is needed TODO There's a TODO in code marking it. component:vm This issue is related to the Virtual Machine. component:compiler This issue is related to the Compiler and/or Bytecode. labels Nov 14, 2021
@NotJustAnna NotJustAnna added this to the Version 1.0 milestone Nov 14, 2021
@NotJustAnna NotJustAnna removed the component:vm This issue is related to the Virtual Machine. label Mar 30, 2022
@NotJustAnna
Copy link
Owner Author

LeanVM is now a thing (see adriantodt/leanvm).

Further investigation will be needed to see if Lin truly needs finally support on try blocks.

@NotJustAnna NotJustAnna removed this from the Version 1.0 milestone Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:compiler This issue is related to the Compiler and/or Bytecode. help wanted Extra attention is needed TODO There's a TODO in code marking it.
Projects
None yet
Development

No branches or pull requests

1 participant