[IR] add testdata for irJsText
This commit is contained in:
committed by
teamcityserver
parent
68b17fe55b
commit
cdc74304c7
@@ -0,0 +1,25 @@
|
||||
val d: dynamic
|
||||
field = 1
|
||||
get
|
||||
|
||||
val p: Int
|
||||
field = <get-d>() /*~> Int */
|
||||
get
|
||||
|
||||
fun test1(d: dynamic): Int {
|
||||
return d /*~> Int */
|
||||
}
|
||||
|
||||
fun test2(d: dynamic): Any {
|
||||
return d /*~> Any */
|
||||
}
|
||||
|
||||
fun test3(d: dynamic): Any? {
|
||||
return d
|
||||
}
|
||||
|
||||
fun test4(d: dynamic): String {
|
||||
return error("") /* ERROR: unsupported element type: IrDynamicOperatorExpressionImpl */
|
||||
/*~> String */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user