Skip to content

Compilation error invoking overloaded function with explicit type parameter #10074

@scabug

Description

@scabug

Trying to compile specified file results an error:
[error] The argument types of an anonymous function must be fully known. (SLS 8.5)
[error] Expected type was: ?
[error] a.overloadedF[Int]{

If you omit type parameter in method invocation or remove second overloaded function, everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions