Skip to content

Commit

Permalink
[Test] Reproduced KT-71656
Browse files Browse the repository at this point in the history
#KT-71656
  • Loading branch information
ivandev0 authored and qodana-bot committed Oct 10, 2024
1 parent 77984b5 commit 85a8bec
Show file tree
Hide file tree
Showing 22 changed files with 150 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions compiler/testData/codegen/box/valueClasses/uLongInValueClass.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// LANGUAGE: +MultiPlatformProjects, +ValueClasses
// IGNORE_BACKEND_K1: ANY
// ^^^ ULong is not accessible in common sources
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
// ISSUE: KT-71656
// WITH_STDLIB

// MODULE: common
// TARGET_PLATFORM: Common
// FILE: expect.kt

@kotlin.jvm.JvmInline
value class Color(val value: ULong) {
fun copy(arg: Int = 0): Color = Color(arg.toULong())
override fun toString(): String = ""
}

// MODULE: main()()(common)
// FILE: actual.kt

fun box(): String {
"bla" is ULong
Color(0UL).copy()
return "OK"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85a8bec

Please sign in to comment.