Erase non-reified type parameters by-default when inlining.
Substitution of type arguments to non-reified type parameters may lead to accidental reification, which should not be done (see ^KT-60174 for examples). So, we should erase them, except the few cases. ^KT-60174: Fixed ^KT-60175: Fixed
This commit is contained in:
committed by
Space Team
parent
29ecc4d987
commit
f318b5969d
@@ -70,7 +70,7 @@ fun fail() : String {
|
||||
// String.kt:28 $kotlin.String.plus (20, 26, 8, 20, 26, 8)
|
||||
// Library.kt:19 $kotlin.toString (37, 37, 43, 43, 43, 37, 37, 63, 37, 37, 43, 43, 43, 37, 37, 63)
|
||||
// String.kt:119 $kotlin.String.toString (49, 49)
|
||||
// String.kt:29 $kotlin.String.plus (15, 15, 15, 15, 22, 28, 33, 42, 48, 28, 62, 15, 8, 15, 15, 15, 15, 22, 28, 33, 42, 48, 28, 62, 15, 8)
|
||||
// String.kt:29 $kotlin.String.plus (15, 15, 15, 15, 22, 28, 33, 42, 48, 28, 62, 56, 15, 8, 15, 15, 15, 15, 22, 28, 33, 42, 48, 28, 62, 56, 15, 8)
|
||||
// String.kt:63 $kotlin.String.plus (12, 12)
|
||||
// String.kt:66 $kotlin.String.plus (15, 8, 15, 8)
|
||||
// test.kt:10 $box (4, 4, 4)
|
||||
|
||||
Reference in New Issue
Block a user