Minor. Add a test for KT-10732: no redeclaration for

fun <T> List<T>?.foo()
fun <T> List<T>.foo()
This commit is contained in:
Dmitry Petrov
2016-03-01 13:53:01 +03:00
parent 16afe74dc1
commit eb7cf92fbd
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,5 @@
fun <T> List<T>?.foo() {}
// NB Not a redeclaration
@JvmName("f1")
fun <T> List<T>.foo() {}