[Spec tests] Actualize spec tests
This commit is contained in:
committed by
Victor Petukhov
parent
2dbce2cc41
commit
f62901d7d9
@@ -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<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user