Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
twoVarParams.kt
blob: 522b914ff48288c0753ca10abf45d617c9f92b0a [
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
())
}