Skip to content

by-name parameter does not work with function literal syntax #9313

Open
@scabug

Description

@scabug

scala> val v = (headVal: Int, currentResultStream: => Int) => head
:1: error: identifier expected but '=>' found.
val v = (headVal: Int, currentResultStream: => Int) => head
^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions