Skip to content

Feature warnings don't show #14500

Closed
@odersky

Description

@odersky

Compiler version

3.1.3-RC1

Minimized example

class Text(val str: String)

object Test:

  given Conversion[String, Text] = Text(_)

  def f(x: Text) = println(x.str)

  f("abc")

Output

Compiles without any diagnostic

Expectation

there were 1 feature warning(s); re-run with -feature for details

(The missing feature is implicitConversions)

Metadata

Metadata

Assignees

Labels

area:reportingError reporting including formatting, implicit suggestions, etcitype:bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions