FE: add one more test related to KT-56511 with the relevant feature ON

This commit is contained in:
Mikhail Glukhikh
2023-03-14 10:15:37 +01:00
committed by Space Team
parent 41c868445c
commit e8232a7572
8 changed files with 66 additions and 15 deletions
@@ -0,0 +1,10 @@
// -- Module: <m1> --
// -- Module: <m2> --
/B.kt:14:13: warning: smart cast to 'String' is deprecated, because 'x' is a property declared in base class from different module inherited in non-public API class
x.length
^
/B.kt:23:9: warning: smart cast to 'String' is deprecated, because 'i.x' is a property declared in base class from different module inherited in non-public API class
i.x.length
^