Logo
Explore Help
Register Sign In
MDS/openide
Watch 1
Star 0
Fork 0
mirror of https://gitflic.ru/project/openide/openide.git synced 2026-09-03 20:33:31 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
261
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/CapturedBoundOfCapture.java
T
Anna Kozlova cdb50293f2 capture conversion: ensure captured wildcards are not replaced after creation, so substitution is consistent; at the same time ensure that "?" with upper bound Runnable is equivalent to "? extends Runnable"
2015-05-28 19:42:11 +02:00

10 lines
124 B
Java
Raw Permalink Blame History

interface A<T extends String, K extends T> {
K get();
}
class Test {
void f(A<?, ?> a) {
String s = a.get();
}
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.1 Page: 4416ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API