Files
kotlin-fork/compiler/testData/diagnostics/tests/when/withSubjectVariable/subjectVariableInIsPattern.txt
T
Dmitry Petrov 091b935c2d Introduce separate callee expression for when with subject variable
'Subject.Error' is redundant.
'Subject.None' can be an object.
'Subject#dataFlowValue' can be a lateinit property.

TODO: fix
- parsing local extension properties in 'when' subject
- parsing destructuring declarations in 'when' subject
- non-completed calls in nested 'when' with subject variable
- non-completed calls for subject variable in 'in' pattern
2018-06-20 14:06:34 +03:00

4 lines
59 B
Plaintext
Vendored

package
public fun test(/*0*/ x: kotlin.Any): kotlin.Unit