Generate generic signature to collection method stubs

#KT-6213 Fixed
This commit is contained in:
Alexander Udalov
2014-11-06 19:38:40 +03:00
parent d4b0977381
commit 70d0c2ff92
4 changed files with 38 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
public class Test {
public static void checkCallFromJava() {
try {
String x = _DefaultPackage.foo().iterator().next();
throw new AssertionError("E should have been thrown");
} catch (E e) { }
}
}