Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
twoVarParams.kt
blob: 1043fdd9dcee3ee6ecbb17750cbe2e2397f0cfe4 [
file
]
// FIR_IDENTICAL
// !CHECK_TYPE
data
class
A
(
var
x
:
Int
,
var
y
:
String
)
fun foo
(
a
:
A
)
{
checkSubtype
<
Int
>(
a
.
component1
())
checkSubtype
<
String
>(
a
.
component2
())
}