[Spec tests] Add linkType element to testMaps
This commit is contained in:
+14
-7
@@ -6,7 +6,8 @@
|
||||
"specVersion": "0.1-222",
|
||||
"casesNumber": 4,
|
||||
"description": "Both left-hand and right-hand sides of an assignment must be expressions",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -18,13 +19,15 @@
|
||||
"specVersion": "0.1-222",
|
||||
"casesNumber": 3,
|
||||
"description": "Check the expression is not assignable if a navigation expression referring to an unmutable property",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-222",
|
||||
"casesNumber": 2,
|
||||
"description": "Check the expression is not assignable if an identifier referring to an unmutable property",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -37,21 +40,24 @@
|
||||
"casesNumber": 3,
|
||||
"description": "Check the expression is not assignable if a navigation expression referring to an unmutable property",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.2.kt",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "primary"
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-213",
|
||||
"casesNumber": 2,
|
||||
"description": "check unsafe prefix increment expression call for an assignable expression",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-increment-expression/p-4/neg/1.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "primary"
|
||||
},
|
||||
{
|
||||
"specVersion": "0.1-213",
|
||||
"casesNumber": 2,
|
||||
"description": "check unsafe prefix decrement expression call for an assignable expression",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/expressions/prefix-expressions/prefix-decrement-expression/p-4/neg/1.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "primary"
|
||||
}
|
||||
],
|
||||
"1": [
|
||||
@@ -60,7 +66,8 @@
|
||||
"casesNumber": 2,
|
||||
"description": "Check the expression is not assignable if an identifier referring to an unmutable property",
|
||||
"path": "compiler/tests-spec/testData/diagnostics/linked/statements/assignments/p-2/neg/1.1.kt",
|
||||
"unexpectedBehaviour": false
|
||||
"unexpectedBehaviour": false,
|
||||
"linkType": "primary"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user