feat: handle punning in a non-ambiguous way

This commit is contained in:
rvcas
2022-12-04 18:49:21 -05:00
committed by Lucas
parent 391849bf37
commit 9ebc836b89
5 changed files with 56 additions and 71 deletions

View File

@@ -32,7 +32,7 @@ pub fn final_check(z: Int) {
}
pub fn incrementor(counter: Int, target: Int) -> Int {
if counter == target then {
if counter == target {
target
} else {
incrementor(counter + 1, target)