Skip to content

Commit 737e9d8

Browse files
committed
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'.
1 parent 02ed6e0 commit 737e9d8

File tree

1 file changed

+0
-1
lines changed
  • java/ql/test-kotlin2/library-tests/java-lang-number-conversions

1 file changed

+0
-1
lines changed

java/ql/test-kotlin2/library-tests/java-lang-number-conversions/test.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
| kotlin.Byte | byteValue |
2626
| kotlin.Byte | compareTo |
2727
| kotlin.Byte | dec |
28-
| kotlin.Byte | describeConstable |
2928
| kotlin.Byte | div |
3029
| kotlin.Byte | doubleValue |
3130
| kotlin.Byte | equals |

0 commit comments

Comments
 (0)