-
-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make TypeTraits semantic more clear and prevent invalid type swaps.
The switch over the traits expression gives a better control over what's accepted and how the matching type or symbol is extracted. Previously using getType() as a default fallback could lead to an invalid type swap from the expression type to the type represented TypeTrait. This commit also restores the getDsymbolWithoutExpCtx() function as it was before the implementation of TypeTraits.
- Loading branch information
1 parent
3e229cd
commit 2af3013
Showing
2 changed files
with
33 additions
and
13 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