reapply fix

This commit is contained in:
Aria Desires 2025-11-26 19:30:39 -05:00
parent 695f2723d4
commit a2f9e5a680
2 changed files with 3 additions and 5 deletions

View File

@ -919,8 +919,7 @@ from typing import TYPE_CHECKING
from mypackage.conflicted.other1 import x as x1
import mypackage.conflicted.b.c
# error: [possibly-missing-attribute]
reveal_type(mypackage.conflicted.b.c.y) # revealed: Unknown
reveal_type(mypackage.conflicted.b.c.y) # revealed: int
```
## Re-export Nameclash Problems In Functions

View File

@ -12322,8 +12322,7 @@ impl<'db> ModuleLiteralType<'db> {
let place_and_qualifiers = self
.module(db)
.file(db)
.map(|file| imported_symbol(db, file, name, None))
/*.map(|file| {
.map(|file| {
imported_symbol(db, file, name, None).map_type(|ty| {
if let Some(importing) = self.importing_file(db)
&& let Type::ModuleLiteral(module) = ty
@ -12333,7 +12332,7 @@ impl<'db> ModuleLiteralType<'db> {
ty
}
})
})*/
})
.unwrap_or_default();
if !place_and_qualifiers.is_undefined() {