Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore type of parameter of executableReference
Browse files Browse the repository at this point in the history
pvojtechovsky committed Nov 14, 2018
1 parent 251c6ce commit 84d8df9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -151,6 +151,13 @@ public ScanningMode enter(CtRole role, CtElement element) {
* continue. This is relevant for import
*/
}
if (role == CtRole.ARGUMENT_TYPE) {
/*
* ignore the type of parameter of CtExecutableReference
* It is not relevant for Imports.
*/
return ScanningMode.SKIP_ALL;
}
}
if (element.isImplicit() && ignoredRoles.contains(role)) {
//ignore implicit actual type arguments

0 comments on commit 84d8df9

Please sign in to comment.