Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (44 sloc) 1.601 kB
warn-unused-imports.scala:7: warning: it is not recommended to define classes/objects inside of package objects.
If possible, define class A in package p1 instead.
class A
^
warn-unused-imports.scala:13: warning: it is not recommended to define classes/objects inside of package objects.
If possible, define class A in package p2 instead.
class A
^
warn-unused-imports.scala:57: warning: Unused import
import p1.A // warn
^
warn-unused-imports.scala:62: warning: Unused import
import p1.{ A, B } // warn on A
^
warn-unused-imports.scala:67: warning: Unused import
import p1.{ A, B } // warn on both
^
warn-unused-imports.scala:67: warning: Unused import
import p1.{ A, B } // warn on both
^
warn-unused-imports.scala:73: warning: Unused import
import c._ // warn
^
warn-unused-imports.scala:78: warning: Unused import
import p1._ // warn
^
warn-unused-imports.scala:85: warning: Unused import
import c._ // warn
^
warn-unused-imports.scala:91: warning: Unused import
import p1.c._ // warn
^
warn-unused-imports.scala:98: warning: Unused import
import p1._ // warn
^
warn-unused-imports.scala:118: warning: Unused import
import p1.A // warn
^
warn-unused-imports.scala:99: warning: local trait Warn is never used
trait Warn { // warn about unused local trait for good measure
^
error: No warnings can be incurred under -Xfatal-warnings.
13 warnings found
one error found
Jump to Line
Something went wrong with that request. Please try again.