[Spec tests] Actualize spec tests

This commit is contained in:
victor.petukhov
2019-10-24 16:57:09 +03:00
committed by Victor Petukhov
parent 2dbce2cc41
commit f62901d7d9
106 changed files with 776 additions and 458 deletions
@@ -1,5 +1,5 @@
/*
* RELEVANT SPEC SENTENCES (spec version: 0.1-155, test type: pos):
* RELEVANT SPEC SENTENCES (spec version: 0.1-152, test type: pos):
* - expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1
* - expressions, when-expression -> paragraph 6 -> sentence 1
* - expressions, when-expression -> paragraph 5 -> sentence 1
@@ -15,6 +15,6 @@ fun test(a: Any): String {
is A -> q = "1"
else -> q = "2"
}
// When is exhaustives
// When is not exhaustive
return <!DEBUG_INFO_SMARTCAST!>q<!>
}