quickfix to move type constraint to 'where' clause

This commit is contained in:
Dmitry Jemerov
2015-10-06 19:03:42 +02:00
parent 4c4030dfc1
commit 45d1129dbb
15 changed files with 114 additions and 10 deletions
+3
View File
@@ -63,3 +63,6 @@ class C {
fun typed<T>() {
}
fun <T : Cloneable> withTypeParameters() where T : Comparable<T> {
}
+3
View File
@@ -62,3 +62,6 @@ class C {
fun <T> typed() {
}
fun <T> withTypeParameters() where T : Cloneable, T : Comparable<T> {
}