Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
openInSealed.fir.kt
blob: 5c861e65c594424481b2a7a05cf367127f012b60 [
file
]
// IGNORE_REVERSED_RESOLVE
sealed
class
My
(
open val x
:
Int
?)
{
init
{
if
(
x
!=
null
)
{
// Should be error: property is open
<!
SMARTCAST_IMPOSSIBLE
!>
x
<!>.
hashCode
()
}
}
}