Merge pull request #7422 from joshuawarner32/fix-can-issue-1

Fix can panic with unbound type variables
This commit is contained in:
Luke Boswell 2024-12-30 14:11:46 +11:00 committed by GitHub
commit eda4db0589
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 7 deletions

View file

@ -786,13 +786,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,