mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +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
|
@ -800,7 +800,7 @@ fn build_clone_tag_help<'a, 'ctx>(
|
|||
let mut cases = Vec::with_capacity_in(other_tags.len(), env.arena);
|
||||
|
||||
for i in 0..other_tags.len() + 1 {
|
||||
if i == nullable_id as _ {
|
||||
if i == nullable_id as usize {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue