Differentiate between type parameters and parameters (IDEA-226683)

PR#1243

GitOrigin-RevId: a91176d9f95e2803da7c1973c58ce4ee492fb703
This commit is contained in:
Daniel Schmidt
2019-11-19 17:44:24 +07:00
committed by intellij-monorepo-bot
parent f4ad3b5771
commit 909433482c
5 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
class Test {
/**
* Test. Don't report type param 'X' as duplicate of param 'X'.
*
* @param X my string
* @param <X> my type
*/
<X> X getValue(String X) {return null;}
}