Skip to content

Warnings not shown in the REPL #4217

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
smarter opened this issue Mar 29, 2018 · 1 comment
Closed

Warnings not shown in the REPL #4217

smarter opened this issue Mar 29, 2018 · 1 comment
Assignees
Labels
area:repl area:reporting Error reporting including formatting, implicit suggestions, etc

Comments

@smarter
Copy link
Member

smarter commented Mar 29, 2018

The same code compiled by hand does show the warning:

scala> def foo(x: Option[Int]) = x match { case None => }
def foo(x: Option[Int]): Unit
scala>

Could you have a look @liufengyun ?

@allanrenucci
Copy link
Contributor

allanrenucci commented Mar 29, 2018

This is a known issue (at least to me 😄). Warnings are not reported in the REPL.

@allanrenucci allanrenucci changed the title Exhaustivity warnings not shown in the REPL Warnings not shown in the REPL Mar 29, 2018
@liufengyun liufengyun self-assigned this Mar 29, 2018
liufengyun added a commit to dotty-staging/dotty that referenced this issue Apr 6, 2018
liufengyun added a commit that referenced this issue Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:repl area:reporting Error reporting including formatting, implicit suggestions, etc
Projects
None yet
Development

No branches or pull requests

3 participants