Skip to content

Commit

Permalink
Tighten wildcard missing statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-phillips committed Aug 23, 2024
1 parent 5c1faf5 commit 8cc4859
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/compiler/internal/transformer/statements.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@ fn transform_statement(
]),
)
}
glance.Assignment(..) ->
glance.Assignment(..) as expr -> {
pprint.debug(expr)
todo as "Non-trivial assignments are not supported yet"
_ -> {
pprint.debug(statement)
todo as "not all statements are defined yet"
}

glance.Use(..) -> {
todo as "Use statements are not supported yet"
}
}
}
Expand Down

0 comments on commit 8cc4859

Please sign in to comment.