Pseudocode label now cannot be bound to a non-owning pseudocode #KT-13555 Fixed

Also EA-77641 Fixed
(cherry picked from commit 07643ce)
This commit is contained in:
Mikhail Glukhikh
2016-08-24 15:14:10 +03:00
committed by Mikhail Glukhikh
parent 08f8a2b75c
commit 25eefdb6ec
6 changed files with 38 additions and 14 deletions
@@ -0,0 +1,10 @@
fun test(name: String?) {
try {
name?.let {
return
}
}
finally {
name?.hashCode()
}
}
@@ -0,0 +1,3 @@
package
public fun test(/*0*/ name: kotlin.String?): kotlin.Unit