Skip to content

Commit

Permalink
spent quite some time debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Feb 3, 2025
1 parent 76b7c33 commit 6eeec8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/uvg_analyze.jou
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def build_statuses_at_start_of_block(uvg: Uvg*, statuses_at_end: VarStatus**, bl
return statuses


def handle_missing_return_statement(uvg: Uvg*, location: Location) -> bool:
def handle_missing_return_statement(uvg: Uvg*, location: Location) -> None:
# Check if there is a "return" statement that user wrote.
n = 0
for b = 0; b < uvg->nblocks; b++:
Expand Down Expand Up @@ -165,7 +165,6 @@ def update_statuses_based_on_instructions(uvg: Uvg*, statuses: VarStatus*, block
show_warning(ins->location, msg)
case VarStatus.Unvisited:
pass
pass
case UvgInstructionKind.DontAnalyze:
statuses[ins->var] = VarStatus.DontAnalyze

Expand Down

0 comments on commit 6eeec8b

Please sign in to comment.