You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buf[pos++] in Java gets converted to buf(pos += 1) in Scala, which is obviously incorrect because Scala assignments are expressions of type Unit (not the value that is being assigned).
The text was updated successfully, but these errors were encountered:
buf[pos++]
in Java gets converted tobuf(pos += 1)
in Scala, which is obviously incorrect because Scala assignments are expressions of typeUnit
(not the value that is being assigned).The text was updated successfully, but these errors were encountered: