Skip to content

Rewrite for eta-expension #131

Open
Open
@MasseGuillaume

Description

@MasseGuillaume

One of the probably many paterns to rewrite (see scala/scala#6475 for more details):

class C(in: () => Int)
def f(): Int = 1

new C(f) // does not compile anymore in 2.13.0-M4
-new C(f)
+new C(() => f)

Metadata

Metadata

Assignees

No one assigned

    Labels

    rewriteRelated to rewrite rules (not compat library code)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions