Skip to content

Commit 52fe40f

Browse files
tekknolagik0kubun
authored andcommitted
Default to BasicObject subclass if unknown
1 parent 2cf7693 commit 52fe40f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zjit/src/hir_type/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl Type {
197197
}
198198
else {
199199
// TODO(max): Add more cases for inferring type bits from built-in types
200-
Type { bits: bits::Object, spec: Specialization::Object(val) }
200+
Type { bits: bits::BasicObject, spec: Specialization::Object(val) }
201201
}
202202
}
203203

0 commit comments

Comments
 (0)