Skip to content

type of implicit definition needs to be given explicitly #384

Open
@exomaus

Description

@exomaus

In Scala 3.2.2 REPL get this error in examples with implicits.

|implicit def thisMethodNameIsIrrelevant(value: Int) =
|             ^
|           result type of implicit definition needs to be given explicitly
implicit val hourlyRate = BigDecimal(34)
              ^
              type of implicit definition needs to be given explicitly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions