File tree 1 file changed +1
-12
lines changed
compiler/src/dotty/tools/dotc
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,6 @@ import dotty.tools.dotc.core.Symbols._
12
12
import dotty .tools .dotc .transform .SymUtils ._
13
13
import dotty .tools .dotc .typer .Inliner
14
14
15
-
16
- import dotty .tools .dotc .reporting .diagnostic .MessageContainer
17
- /*
18
- trait WarningTransformer {
19
- val transformer: MessageContainer => Option[MessageContainer]
20
- position: Position
21
- }
22
- */
23
-
24
15
class CompilationUnit (val source : SourceFile ) {
25
16
26
17
override def toString : String = source.toString
@@ -29,9 +20,7 @@ class CompilationUnit(val source: SourceFile) {
29
20
30
21
var tpdTree : tpd.Tree = tpd.EmptyTree
31
22
32
- // var warningTransformers: List[WarningTransformer] = Nil
33
-
34
- def isJava = source.file.name.endsWith(" .java" )
23
+ def isJava : Boolean = source.file.name.endsWith(" .java" )
35
24
36
25
/** Pickled TASTY binaries, indexed by class. */
37
26
var pickled : Map [ClassSymbol , Array [Byte ]] = Map ()
You can’t perform that action at this time.
0 commit comments