ConeTypeIntersector: preserve raw & dynamic types as is
This commit is contained in:
committed by
Space Team
parent
55fdb43620
commit
1344a9b1bb
+13
@@ -0,0 +1,13 @@
|
||||
FILE: intersectDynamicAndString.kt
|
||||
public final fun bar(): R|dynamic| {
|
||||
^bar R|kotlin/TODO|()
|
||||
}
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
lval x: R|dynamic| = R|/bar|()
|
||||
when () {
|
||||
(R|<local>/x| is R|kotlin/String|) -> {
|
||||
lval y: R|dynamic| = R|<local>/x|
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user