Closed
Description
scala> java.nio.ByteBuffer.allocate(1).isReadOnly
Scala 2 returns false
as expected.
Dotty displays the following error message instead:
variable isReadOnly cannot be accessed as a member of java.nio.ByteBuffer from module class rs$line$1$
Same applies to CharBuffer
, IntBuffer
, LongBuffer
, et al.