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
@SethTisue said:
great catch!! can't believe this went unnoticed for so long. (it's been broken at least since 2.7, perhaps since the dawn of Scala time.)
@odersky said (edited on Feb 3, 2017 11:39:56 AM UTC):
That's indeed embarrassing. Should have an easy fix. For what it's worth, dotty does not have that problem.
The following code:
Evaluates to 0.
This is because it is transformed by the typer to:
The problem does not appear if one uses 'apply', as in:
The text was updated successfully, but these errors were encountered: