Remove warning and add tests when this warning had been reproducible

This commit is contained in:
Nikolay Krasko
2014-11-07 01:29:52 +03:00
parent d5bef5e612
commit 95a2dce627
6 changed files with 46 additions and 8 deletions
@@ -0,0 +1,7 @@
package inlibrary.test
public class FunParameter {
fun test(p: Int) {
val a = p
}
}
@@ -0,0 +1,9 @@
package inlibrary.test
public fun topLevel(): Int {
fun local(): Int {
return 1
}
return local()
}