Skip to content

(using inline Type) doesn't compile #12012

@japgolly

Description

@japgolly

Compiler version

3.0.1-RC1-bin-20210406-b0061c4-NIGHTLY

Minimized code

inline def x(using inline ev: Int) = 1 // ok
inline def y(using inline     Int) = 1 // error

Output

[error] 2 |inline def y(using inline     Int) = 1
[error]   |                                 ^
[error]   |                                 ':' expected, but ')' found
[error] one error found

Expectation

Successful compilation.

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