mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Add explicit casts
For some reason these can no longer be inferred.
This commit is contained in:
parent
8d1d4e6df3
commit
d7a30966c1
5 changed files with 5 additions and 5 deletions
|
@ -1139,7 +1139,7 @@ fn to_relevant_branch_help<'a>(
|
|||
EnumLiteral { tag_id, .. } => match test {
|
||||
IsByte {
|
||||
tag_id: test_id, ..
|
||||
} if tag_id == *test_id as _ => {
|
||||
} if tag_id == *test_id as u8 => {
|
||||
start.extend(end);
|
||||
Some(Branch {
|
||||
goal: branch.goal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue