Fix repro for nasty import bug

The bug reproduces if you go to the commit before this one;
seems to be the problem is importing an un-exposed value
as unqualified (possibly from a package, might be relevant)
This commit is contained in:
Richard Feldman 2024-01-21 23:06:11 -05:00
parent bca6417a9d
commit 7f2e2d0803
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -4864,7 +4864,7 @@ fn import_variable_for_symbol(
// Today we define builtins in each module that uses them
// so even though they have a different module name from
// the surrounding module, they are not technically imported
debug_assert!(symbol.is_builtin());
debug_assert!(symbol.is_builtin(), "The symbol {:?} was not found and was assumed to be a builtin, but it wasn't a builtin.", symbol);
return;
}
AbilityMemberMustBeAvailable => {