-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[inferpython][specialization types] adding a new type kind for import…
…_from Summary: we want to avoid a need for specialization when a function use an other function `fun` obtained by a `from .. import .. as fun`. This is not trivial because the closure type of `fun` is not computable without searching inside the Tenv, while we generate specialization types at capture time. We introduce a *delayed* name that will be resolve later at analysis time (see next diff). Reviewed By: skcho Differential Revision: D67139193 Privacy Context Container: L1208441 fbshipit-source-id: fe46377766fe2a4fdb033460cd747b42606e65e1
- Loading branch information
1 parent
13b983b
commit 1bcba18
Showing
2 changed files
with
112 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters