Skip to content

Infix types do not work in REPL #1959

Closed
@soronpo

Description

@soronpo
scala> trait +[N1, N2] 
defined trait +
scala> type MyAlias = Int + Int 
<console>:4: error: not found: type +
type MyAlias = Int + Int

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions