-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support constructor promotion with namespaced and union typehints (#333)
* Add test case for constructor property promotion with namespace type * Simplify isConstructorPromotion and add ignore typehints * Add test for union properties * Handle unions * Style fixes * Remove unused var * Remove unreachable return * Use union token type content rather than type
- Loading branch information
1 parent
40d4800
commit 779884c
Showing
2 changed files
with
89 additions
and
35 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