Commit 3c61bca
committed
Fix context for unpickling symbol annotations
For member definitions, the owner for unpickling
annotations should be the owner of the symbol.
Note that the type checking has a more complex mechanism
to avoid entering argument definitions in the enclosing class.
See `Typer.annotContext` and `Context.exprContext`.
In the context of unpickling, it is unclear how to get
that mechanism to work.1 parent 235e393 commit 3c61bca
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
0 commit comments