Files
kotlin-fork/compiler/testData/ir/irText/expressions/unsignedIntegerLiterals.sig.kt.txt
T
Sergej Jaskiewicz 6e8283a6fe [IR] Dump IdSignatures and mangled names in irText tests
The reason #1 for this feature is that we want to test IdSignatures
generated for declarations. Currently, there is no (easy) way to ensure
that a change in the signature building logic doesn't cause any breaking
changes wrt klibs.

Now, most IdSignatures include hashed mangled names in them, so even if
we catch a regression where the included hash changes, there would be no
way of knowing immediately what caused it, unless we'd also have mangled
names in the expectations.

The reason #2 is to test the manglers themselves. Currently, there are
no tests for them. They heavily duplicate each other, this is already
causing issues (see KT-57427) that would be very hard to catch without
these tests.

^KT-58238 Fixed
2023-05-15 18:20:45 +00:00

121 lines
5.0 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: {}testSimpleUIntLiteral
// Public signature: /testSimpleUIntLiteral|-5462154717039801349[0]
val testSimpleUIntLiteral: UInt
// CHECK JVM_IR:
// Mangled name: #<get-testSimpleUIntLiteral>(){}kotlin.UInt
// Public signature: /testSimpleUIntLiteral.<get-testSimpleUIntLiteral>|-4653191023207023329[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testSimpleUIntLiteral>(){}
// Public signature: /testSimpleUIntLiteral.<get-testSimpleUIntLiteral>|-6704568008056559053[0]
get
// CHECK:
// Mangled name: {}testSimpleUIntLiteralWithOverflow
// Public signature: /testSimpleUIntLiteralWithOverflow|5568529828713576484[0]
val testSimpleUIntLiteralWithOverflow: UInt
// CHECK JVM_IR:
// Mangled name: #<get-testSimpleUIntLiteralWithOverflow>(){}kotlin.UInt
// Public signature: /testSimpleUIntLiteralWithOverflow.<get-testSimpleUIntLiteralWithOverflow>|-8518123773042217261[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testSimpleUIntLiteralWithOverflow>(){}
// Public signature: /testSimpleUIntLiteralWithOverflow.<get-testSimpleUIntLiteralWithOverflow>|-3684407297918930915[0]
get
// CHECK:
// Mangled name: {}testUByteWithExpectedType
// Public signature: /testUByteWithExpectedType|3852078077095318718[0]
val testUByteWithExpectedType: UByte
// CHECK JVM_IR:
// Mangled name: #<get-testUByteWithExpectedType>(){}kotlin.UByte
// Public signature: /testUByteWithExpectedType.<get-testUByteWithExpectedType>|-6501427247498652278[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testUByteWithExpectedType>(){}
// Public signature: /testUByteWithExpectedType.<get-testUByteWithExpectedType>|-2486015478697901588[0]
get
// CHECK:
// Mangled name: {}testUShortWithExpectedType
// Public signature: /testUShortWithExpectedType|6165338656044520744[0]
val testUShortWithExpectedType: UShort
// CHECK JVM_IR:
// Mangled name: #<get-testUShortWithExpectedType>(){}kotlin.UShort
// Public signature: /testUShortWithExpectedType.<get-testUShortWithExpectedType>|-7410031910894675749[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testUShortWithExpectedType>(){}
// Public signature: /testUShortWithExpectedType.<get-testUShortWithExpectedType>|1132366278871381249[0]
get
// CHECK:
// Mangled name: {}testUIntWithExpectedType
// Public signature: /testUIntWithExpectedType|6767656315821705452[0]
val testUIntWithExpectedType: UInt
// CHECK JVM_IR:
// Mangled name: #<get-testUIntWithExpectedType>(){}kotlin.UInt
// Public signature: /testUIntWithExpectedType.<get-testUIntWithExpectedType>|870704205305295065[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testUIntWithExpectedType>(){}
// Public signature: /testUIntWithExpectedType.<get-testUIntWithExpectedType>|-7635408390937372758[0]
get
// CHECK:
// Mangled name: {}testULongWithExpectedType
// Public signature: /testULongWithExpectedType|-2014270652591396342[0]
val testULongWithExpectedType: ULong
// CHECK JVM_IR:
// Mangled name: #<get-testULongWithExpectedType>(){}kotlin.ULong
// Public signature: /testULongWithExpectedType.<get-testULongWithExpectedType>|4475524496791661545[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testULongWithExpectedType>(){}
// Public signature: /testULongWithExpectedType.<get-testULongWithExpectedType>|7861557248796768147[0]
get
// CHECK:
// Mangled name: {}testToUByte
// Public signature: /testToUByte|5171013167243366088[0]
val testToUByte: UByte
// CHECK JVM_IR:
// Mangled name: #<get-testToUByte>(){}kotlin.UByte
// Public signature: /testToUByte.<get-testToUByte>|4718877243529221360[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testToUByte>(){}
// Public signature: /testToUByte.<get-testToUByte>|-1224639133109235261[0]
get
// CHECK:
// Mangled name: {}testToUShort
// Public signature: /testToUShort|-7150535629935793542[0]
val testToUShort: UShort
// CHECK JVM_IR:
// Mangled name: #<get-testToUShort>(){}kotlin.UShort
// Public signature: /testToUShort.<get-testToUShort>|1257054497303804599[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testToUShort>(){}
// Public signature: /testToUShort.<get-testToUShort>|-8157516695178985946[0]
get
// CHECK:
// Mangled name: {}testToUInt
// Public signature: /testToUInt|9156445495607337470[0]
val testToUInt: UInt
// CHECK JVM_IR:
// Mangled name: #<get-testToUInt>(){}kotlin.UInt
// Public signature: /testToUInt.<get-testToUInt>|-5858848290517809988[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testToUInt>(){}
// Public signature: /testToUInt.<get-testToUInt>|2688223986243812534[0]
get
// CHECK:
// Mangled name: {}testToULong
// Public signature: /testToULong|901391237959692446[0]
val testToULong: ULong
// CHECK JVM_IR:
// Mangled name: #<get-testToULong>(){}kotlin.ULong
// Public signature: /testToULong.<get-testToULong>|-1569892355870406141[0]
// CHECK JS_IR NATIVE:
// Mangled name: #<get-testToULong>(){}
// Public signature: /testToULong.<get-testToULong>|4327718520579802868[0]
get