Elvis / if / when now infer error type in case of ErrorType + Nothing #KT-6665 Fixed

(cherry picked from commit 9a50a0b)
This commit is contained in:
Mikhail Glukhikh
2016-06-16 17:45:17 +03:00
committed by Mikhail Glukhikh
parent 49fb9ff424
commit 5ccbf47531
8 changed files with 92 additions and 14 deletions
@@ -0,0 +1,8 @@
package
public fun bar(): kotlin.Int
public fun bar2(): kotlin.Int
public fun bar3(): kotlin.Int
public fun foo(): kotlin.Int
public fun foo2(): kotlin.Int
public fun foo3(): kotlin.Int