mirror of https://github.com/tbklang/tlang.git
VarAssNode pushType() -> VarStdAss pop type and VarDec pop type (if has ass) #98
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
Blocks
#94 Literal encodings
tlang/tlang
Reference: tlang/tlang#98
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 this?
A variable assigment node pushes its type then one of the two consumes it:
Just a reminder this was added to the above 2 (popping code/
popType()
):And for the variable assignment node (pushing code/
addType()
):Questions
Question 1: Where to perform coercion?
I think we should flip this around. Consumers should ehck types, makes way more sense
I will be closing this now seeing that the "typequeue" is now removed.