Expression switch - an alternate proposal

Brian Goetz brian.goetz at oracle.com
Mon Apr 9 15:42:32 UTC 2018



On 4/9/2018 11:37 AM, Stephen Colebourne wrote:
> On 9 April 2018 at 15:28, Brian Goetz <brian.goetz at oracle.com> wrote:
>>> Here is the impact on some code:
>>>      default: -> {
>> I assume you mean
>>      default -> { }
> No, it was an arrow followed by a block that ended in throw.

I meant, "you didn't seriously mean to propose 
default-colon-arrow-brace, right"?




More information about the amber-dev mailing list