Re: [scala-bts] (SI-9931) Possible Regression in 2.12.0-RC1 inferencing type annotation

35 views
Skip to first unread message

Adriaan Moors

unread,
Sep 22, 2016, 3:37:46 PM9/22/16
to Seth Tisue (JIRA), adriaa...@typesafe.com
Interesting! It's intended to behave like dotty. I'll investigate next week.
On Thu, Sep 22, 2016 at 19:26 Seth Tisue (JIRA) <scala-i...@googlegroups.com> wrote:
Seth Tisue commented on Bug 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 Add Comment
 
This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages