Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Fix/guaranteed variables #17

Merged
merged 3 commits into from
Apr 15, 2023
Merged

Fix/guaranteed variables #17

merged 3 commits into from
Apr 15, 2023

Conversation

nielstron
Copy link
Contributor

@nielstron nielstron commented Apr 15, 2023

DeBrujin programs are not valid if used variables are not actually declared (there are no NameErrors, as there are technically not even invalid variable names), so we enforce in hebi that all variables used after a branch in control flow are actually assigned in all branches.

@nielstron nielstron merged commit 2660ed0 into dev Apr 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant