Skip to content

as is interpreted as keyword #7103

@SrTobi

Description

@SrTobi

minimized code

class X
object X extends X
given `as` as X = X

expectation

A given instance named as

actual

image
Also note that the error message mentions for which should be as I guess?
image

What is it now anyway? given as or delegate for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions