Skip to content

Feature warnings don't show #14500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
odersky opened this issue Feb 16, 2022 · 0 comments · Fixed by #14503
Closed

Feature warnings don't show #14500

odersky opened this issue Feb 16, 2022 · 0 comments · Fixed by #14503
Assignees
Labels
area:reporting Error reporting including formatting, implicit suggestions, etc itype:bug

Comments

@odersky
Copy link
Contributor

odersky commented Feb 16, 2022

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)

@odersky odersky added the stat:needs triage Every issue needs to have an "area" and "itype" label label Feb 16, 2022
@odersky odersky self-assigned this Feb 16, 2022
@odersky odersky added area:reporting Error reporting including formatting, implicit suggestions, etc itype:bug and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Feb 16, 2022
odersky added a commit to dotty-staging/dotty that referenced this issue Feb 16, 2022
olsdavis pushed a commit to olsdavis/dotty that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:reporting Error reporting including formatting, implicit suggestions, etc itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant