Cleanup: Remove any pushbacks #101

Open
opened 2023-02-11 10:15:54 +00:00 by deavmi · 0 comments
Owner

What is this?

Push-backs were a misunderstanding, they can never happen (or atleast shouldn't be able to), and for example, with function calls they will never happen, so in the near future remove dead code like:

else
{
	// TODO: This should enver happen, see book and remove soon
	/* Push it back */
	addInstr(instr);
	break;
}

In the function call handling code in typecheck/core.d.

## What is this? Push-backs were a misunderstanding, they can never happen (or atleast shouldn't be able to), and for example, with function calls they **will** never happen, so in the near future remove dead code like: ```d else { // TODO: This should enver happen, see book and remove soon /* Push it back */ addInstr(instr); break; } ``` In the function call handling code in `typecheck/core.d`.
deavmi added this to the Basics milestone 2023-02-11 10:15:54 +00:00
deavmi added the
typing
qol
question
labels 2023-02-11 10:15:54 +00:00
deavmi self-assigned this 2023-02-11 10:15:54 +00:00
deavmi added this to the Dependency tree, type-checking and codegen project 2023-02-11 10:15:55 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tlang/tlang#101
No description provided.