Update test data for compiler visualizer
This commit is contained in:
committed by
TeamCityServer
parent
4ac38e5f29
commit
919591909e
Vendored
+125
@@ -0,0 +1,125 @@
|
||||
// Should have raw description
|
||||
fun test_1() {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
contract {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
callsInPlace()
|
||||
}
|
||||
// fun test_1(): Unit
|
||||
// │
|
||||
test_1()
|
||||
}
|
||||
|
||||
fun test_2() {
|
||||
// fun contracts/contract(contracts/ContractBuilder.() -> Unit): Unit
|
||||
// package kotlin │ contract@0
|
||||
// │ │ │
|
||||
kotlin.contracts.contract {
|
||||
// this@0
|
||||
// fun <R> (contracts/ContractBuilder).callsInPlace<???>(Function<???>, contracts/InvocationKind = ...): contracts/CallsInPlace
|
||||
// │
|
||||
callsInPlace()
|
||||
// this@0
|
||||
// fun <R> (contracts/ContractBuilder).callsInPlace<???>(Function<???>, contracts/InvocationKind = ...): contracts/CallsInPlace
|
||||
// │
|
||||
callsInPlace()
|
||||
}
|
||||
// fun test_2(): Unit
|
||||
// │
|
||||
test_2()
|
||||
}
|
||||
|
||||
// Int Int
|
||||
// │ │
|
||||
var test_3: Int = 1
|
||||
get() {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
contract {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
callsInPlace()
|
||||
}
|
||||
// Int
|
||||
// │
|
||||
return 1
|
||||
}
|
||||
// Int
|
||||
// │
|
||||
set(value) {
|
||||
// fun contracts/contract(contracts/ContractBuilder.() -> Unit): Unit
|
||||
// package kotlin │ contract@0
|
||||
// │ │ │
|
||||
kotlin.contracts.contract {
|
||||
// this@0
|
||||
// fun <R> (contracts/ContractBuilder).callsInPlace<???>(Function<???>, contracts/InvocationKind = ...): contracts/CallsInPlace
|
||||
// │
|
||||
callsInPlace()
|
||||
// this@0
|
||||
// fun <R> (contracts/ContractBuilder).callsInPlace<???>(Function<???>, contracts/InvocationKind = ...): contracts/CallsInPlace
|
||||
// │
|
||||
callsInPlace()
|
||||
}
|
||||
}
|
||||
|
||||
fun test_4() {
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
contract()
|
||||
// fun test_4(): Unit
|
||||
// │
|
||||
test_4()
|
||||
}
|
||||
|
||||
// should not have raw description
|
||||
|
||||
fun test_5() {
|
||||
// fun test_5(): Unit
|
||||
// │
|
||||
test_5()
|
||||
// [ERROR: not resolved]
|
||||
// │
|
||||
contract()
|
||||
}
|
||||
|
||||
fun test_6() {
|
||||
// [ERROR: not resolved]
|
||||
// │ [ERROR: not resolved]
|
||||
// │ │ [ERROR: not resolved]
|
||||
// │ │ │ [ERROR: not resolved]
|
||||
// │ │ │ │
|
||||
aaa.bbb.ccc.contract {
|
||||
|
||||
}
|
||||
// fun test_6(): Unit
|
||||
// │
|
||||
test_6()
|
||||
}
|
||||
|
||||
fun test_7() {
|
||||
// [ERROR: not resolved]
|
||||
// │ [ERROR: not resolved]
|
||||
// │ │
|
||||
contracts.contract {
|
||||
|
||||
}
|
||||
// fun test_7(): Unit
|
||||
// │
|
||||
test_7()
|
||||
}
|
||||
|
||||
fun test_8() {
|
||||
// [ERROR: not resolved]
|
||||
// │ [ERROR: not resolved]
|
||||
// │ │ [ERROR: not resolved]
|
||||
// │ │ │ [ERROR: not resolved]
|
||||
// │ │ │ │
|
||||
aaa.kotlin.contracts.contract {
|
||||
|
||||
}
|
||||
// fun test_8(): Unit
|
||||
// │
|
||||
test_8()
|
||||
}
|
||||
Reference in New Issue
Block a user