[Spec tests] Add tests for call-without-an-explicit-receiver, receivers
This commit is contained in:
committed by
Victor Petukhov
parent
35de6a3f6e
commit
bb1ee952ba
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"5": {
|
||||
"pos": {
|
||||
"2": [
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 2,
|
||||
"description": "The implicit this receiver has higher priority than phantom static implicit this",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"1": [
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 2,
|
||||
"description": "The implicit this receiver has higher priority than phantom static implicit this",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/2.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 4,
|
||||
"description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/3.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"3": [
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 4,
|
||||
"description": "The phantom static implicit this receiver has higher priority than the current class companion object receiver",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"5": [
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 4,
|
||||
"description": "Superclass companion object receivers are prioritized according to the inheritance order",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
],
|
||||
"4": [
|
||||
{
|
||||
"specVersion": "0.1-278",
|
||||
"casesNumber": 4,
|
||||
"description": "Superclass companion object receivers are prioritized according to the inheritance order",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/overload-resolution/receivers/p-5/pos/5.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user