Type aliases: do not reparse RHS of type alias declaration in expanded type resolution
This commit is contained in:
+4
-2
@@ -1,5 +1,7 @@
|
||||
typealias S = String
|
||||
|
||||
val OK: S = "OK"
|
||||
typealias SF<T> = (T) -> S
|
||||
|
||||
fun box(): S = OK
|
||||
val f: SF<S> = { it }
|
||||
|
||||
fun box(): S = f("OK")
|
||||
|
||||
Reference in New Issue
Block a user