FIR: create constructors copies with correct containers in JvmMappedScope

#KT-49133 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-10-19 16:10:10 +03:00
committed by TeamCityServer
parent a2b9c2bd78
commit 7b9ac4c5f7
5 changed files with 42 additions and 10 deletions
@@ -27,7 +27,7 @@ interface A2 : List<String> {
override fun stream(): java.util.stream.Stream<String> = null!!
}
class B : <!NONE_APPLICABLE!>Throwable<!>("", null, false, false)
class B : Throwable("", null, false, false)
class B1 : RuntimeException() {
override fun fillInStackTrace(): Throwable { // 'override' keyword must be prohibited, as it was in 1.0.x