Skip to content

Commit

Permalink
Fix err type
Browse files Browse the repository at this point in the history
  • Loading branch information
afsalthaj committed Oct 15, 2024
1 parent 186e8a1 commit 93aed2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golem-rib/src/type_checker/exhaustive_pattern_match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ mod internal {

fn result() -> Self {
ConstructorDetail {
no_arg_constructors: vec!["err".to_string()],
with_arg_constructors: vec!["ok".to_string()],
no_arg_constructors: vec![],
with_arg_constructors: vec!["ok".to_string(), "err".to_string()],
}
}
}
Expand Down

0 comments on commit 93aed2c

Please sign in to comment.