Dmitriy Novozhilov
|
14d6f8009d
|
[NI] Update diagnostic messages in testdata
|
2019-08-01 14:37:54 +03:00 |
|
Dmitriy Novozhilov
|
42b333f6fd
|
Update some testdata according to new inference behaviour
|
2019-01-24 10:53:58 +03:00 |
|
Dmitry Petrov
|
758548603e
|
Extra tests for when with val in subject
|
2018-06-20 14:06:34 +03:00 |
|
Dmitry Petrov
|
5f0c9490bb
|
Add test for smart cast on a value bound to when subject variable
E.g.:
when (val y = x?.foo()) {
null -> ...
else -> ... // 'x' is also non-null here
}
|
2018-06-20 14:06:34 +03:00 |
|