diff --git a/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt b/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt index fa30742db61..77119dc760b 100644 --- a/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt +++ b/compiler/testData/codegen/box/annotations/instances/multimoduleCreation.kt @@ -22,10 +22,9 @@ annotation class OtherArrays( val namesArray: Array = [JvmName("foo")] ) -// Uncomment when KT-49998 is resolved -//annotation class UnsignedValue( -// val uint: UInt = 2147483657U // Int.MAX_VALUE + 10 -//) +annotation class UnsignedValue( + val uint: UInt = 2147483657U // Int.MAX_VALUE + 10 +) // MODULE: app(lib) // FILE: app.kt @@ -45,7 +44,7 @@ class C { fun two(): Metadata = Metadata() fun three(): Deprecated = Deprecated("foo") fun four(): OtherArrays = OtherArrays() -// fun five(): UnsignedValue = UnsignedValue() + fun five(): UnsignedValue = UnsignedValue() } fun box(): String { @@ -63,6 +62,6 @@ fun box(): String { """@a.OtherArrays(annotationsArray=[], doublesArray=[], enumArray=[], namesArray=[@kotlin.jvm.JvmName(name=foo)])""", C().four().toString() ) -// assertEquals(Int.MAX_VALUE.toUInt() + 10.toUInt(), C().five().uint) + assertEquals(Int.MAX_VALUE.toUInt() + 10.toUInt(), C().five().uint) return "OK" }