Seth Tisue commented on SI-9931
Re: Possible Regression in 2.12.0-RC1 inferencing type annotation
> you could try with a def instead of a val and then it should behave the same across versions
With "def" you get the error in both 2.11.8 and 2.12.0-RC1.
Dotty accepts both the "def" and "val" versions, so this isn't a case where we can say "we're like Dotty now".
Add Comment
This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)