Circularity discussion #47

Open
opened 2022-12-14 13:09:08 +00:00 by deavmi · 2 comments
Owner

If we fix issue #46 then we head into an issue where the body of a function definition cannot refer to a global variable as the global variables are declared after methods (in terms of weighted re-ordering).

Now, we may have a case where a global calls a function - we should try support this, we could put iton hold though (for now possibly).

If we fix issue #46 then we head into an issue where the body of a function definition cannot refer to a global variable as the global variables are declared **after** methods (in terms of weighted re-ordering). Now, we may have a case where a global calls a function - we should try support this, we could put iton hold though (for now possibly).
deavmi added a new dependency 2022-12-14 13:09:17 +00:00
deavmi added the
typing
dependency
labels 2022-12-14 13:10:18 +00:00
deavmi self-assigned this 2022-12-14 13:10:22 +00:00
deavmi added this to the Dependency tree, type-checking and codegen project 2022-12-14 13:10:26 +00:00
Author
Owner

We can look at this later. I don't think globals should call functions, there we go. Probably sorted for now.

We can look at this later. I don't think globals should call functions, there we go. Probably sorted for now.
Author
Owner

Going to remove the dependency of this issue for now.

Going to remove the dependency of this issue for now.
deavmi removed a dependency 2022-12-16 13:04:06 +00:00
deavmi added the
question
label 2022-12-16 13:05:11 +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#47
No description provided.