mirror of https://github.com/tbklang/tlang.git
🐞️ Bugfix: Multiple compilations #88
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 2 hours 55 minutes
Due Date
deavmi
2 hours 55 minutes
Depends on
Reference: tlang/tlang#88
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is the issue?
It would seem that when we attempt multiple compilations we get some resolution error. I am under the impression some
static
fields are not being cleared - that is the only way I can see such a thing happening.The offending code is below:
And the output we get is attached as the image below.
Linked issue #151 as I think that is why it occurss
compiler_objectto bugfix/fix_multi_compileI am actually drastically increasing code coverage with this now.
Almost done....
Multiple compilationsto 🐞️ Bugfix: Multiple compilationsProblem is this module-state ain't lekker, if an exception is thrown we never get to clear that stuff
Could use a scope-guard for now, but honestly it should be part of some sort of DNode state.
Merged with CI/CD all passing ✅