Created
August 27, 2013 20:11
-
-
Save kohsuke/6358508 to your computer and use it in GitHub Desktop.
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
public class ErrorCase { | |
public static class Foo<T> { | |
public void foo(T t) {} | |
} | |
public static class Bar<T> extends Foo<List<T>> { | |
public void foo(List<String> o) {} | |
} | |
public static void main(String[] args) { | |
new Bar<String>().foo(Collections.<String>emptyList()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment