-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Normalizer] Fix type alias expansion in type_app
Summary: When normalizing: ``` TypeAppT (t, ts) ``` where * `t` is a type alias `T`, s.t. `type T<vs> = body` * the mode is to expand type aliases we need to replace `vs` for `ts` in `body`. This diffs makes this substitution. This didn't occur until now, because we weren't expanding type aliases, even when the relevant flag required up to. Reviewed By: samwgoldman Differential Revision: D8528866 fbshipit-source-id: 562216071e3e520b67501e00c6a097a967f4d6a1
- Loading branch information
1 parent
7923fbb
commit 40a72f8
Showing
4 changed files
with
156 additions
and
2 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
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