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