Skip to content

implied behaves abnormally in REPL #5897

Closed
@Glavo

Description

@Glavo
scala> implied for Int = 10
def Int_instance: Int

scala> infer[Int]
1 |infer[Int]
  |          ^
  |no implicit argument of type Int was found for parameter x of method infer in object DottyPredef

This problem only occurs in REPL and can be passed normally using dotc compilation.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions