Skip to content

Trying to import a class that doesn't exist from a package that exists does not produce an error #1286

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 May 29, 2016 · 0 comments
Assignees
Labels
area:reporting Error reporting including formatting, implicit suggestions, etc area:typer

Comments

@smarter
Copy link
Member

smarter commented May 29, 2016

This shouldn't compile:

import scala.io.Idontexist
object Test
@smarter smarter added area:reporting Error reporting including formatting, implicit suggestions, etc area:typer labels May 29, 2016
@smarter smarter changed the title Trying to import a java class that doesn't exist from a package that exists does not produce an error Trying to import a class that doesn't exist from a package that exists does not produce an error May 29, 2016
@nicolasstucki nicolasstucki self-assigned this Aug 22, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Aug 26, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Aug 29, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Sep 8, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Sep 23, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 3, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 12, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 18, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 18, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 19, 2016
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Oct 20, 2016
odersky added a commit that referenced this issue Oct 21, 2016
Fix #1286: Warn on inexistent imports that are not used.
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 area:typer
Projects
None yet
Development

No branches or pull requests

3 participants