mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
K2: library-tests/java-lang-number-conversions: Accept changes
With
fun f(b: kotlin.Byte) {
val x = b.describeConstable()
}
and -language-version 1.9 we get
test.kt:2:15: warning: 'describeConstable(): Optional<DynamicConstantDesc<Byte!>!>!' is deprecated. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
and with 2.0
test.kt:2:15: error: unresolved reference 'describeConstable'.
This commit is contained in:
@@ -25,7 +25,6 @@
|
|||||||
| kotlin.Byte | byteValue |
|
| kotlin.Byte | byteValue |
|
||||||
| kotlin.Byte | compareTo |
|
| kotlin.Byte | compareTo |
|
||||||
| kotlin.Byte | dec |
|
| kotlin.Byte | dec |
|
||||||
| kotlin.Byte | describeConstable |
|
|
||||||
| kotlin.Byte | div |
|
| kotlin.Byte | div |
|
||||||
| kotlin.Byte | doubleValue |
|
| kotlin.Byte | doubleValue |
|
||||||
| kotlin.Byte | equals |
|
| kotlin.Byte | equals |
|
||||||
|
|||||||
Reference in New Issue
Block a user