Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
17f06482f2af85bda22c79ae69cdf72f6fbe574c
/
.
/
analysis
/
analysis-api
/
testData
/
referenceResolve
/
DestructuringDeclarationInInit.kt
blob: df9d1708f640d6cf48ca8991f8b7f57dbfe2193c [
file
]
var
x
:
Any
=
2
class
Test
{
init
{
val
(
type
,
entityName
)
=
when
{
x
is
Int
->
Int
::
class
.
java to
"Int"
<caret>
x
is
String
->
String
::
class
.
java to
"String"
else
->
null
to
null
}
}
}