Fix can panic with unbound type variables

This commit is contained in:
Joshua Warner 2024-12-25 12:01:56 -05:00
parent 9b13b19d08
commit f4698e1517
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
4 changed files with 39 additions and 7 deletions

View file

@ -783,13 +783,6 @@ mod test_snapshots {
true
}
"parens_newlines_before_as" | "tag_union_ann_with_as" => {
// Found unbound type variables {66}
// in type alias `Test.IdentId(0)` [] [] : <66>
// Location: crates/compiler/can/src/scope.rs:541:13
cfg!(debug_assertions)
}
// When adding new snapshot tests, strongly prefer fixing any canonicalization panics
// they may run into rather than adding them to this list.
_ => false,