Skip to content

Commit 4f08981

Browse files
committed
Expand warning message to note that there are known Java extractor bugs relating to this query
1 parent e722c99 commit 4f08981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/consistency-queries/typeParametersInScope.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ TypeVariable getATypeVariableInScope(RefType type) {
4949
from ClassOrInterface typeUser, TypeVariable outOfScope
5050
where
5151
outOfScope = getATypeUsedInClass(typeUser) and not outOfScope = getATypeVariableInScope(typeUser)
52-
select "Type " + typeUser + " uses out-of-scope type variable " + outOfScope
52+
select "Type " + typeUser + " uses out-of-scope type variable " + outOfScope + ". Note the Java extractor is known to sometimes do this; the Kotlin extractor should not."

0 commit comments

Comments
 (0)