|
1 | 1 | package scoverage
|
2 | 2 |
|
3 |
| -import java.io.{FileNotFoundException, File} |
4 |
| -import scala.tools.nsc.transform.{TypingTransformers, Transform} |
| 3 | +import java.io.{File, FileNotFoundException} |
5 | 4 | import java.net.URL
|
6 |
| -import scala.tools.nsc.plugins.PluginComponent |
7 |
| -import scala.tools.nsc.{Phase, Global} |
| 5 | + |
8 | 6 | import scala.collection.mutable.ListBuffer
|
| 7 | +import scala.tools.nsc.Global |
| 8 | +import scala.tools.nsc.plugins.PluginComponent |
| 9 | +import scala.tools.nsc.transform.{Transform, TypingTransformers} |
9 | 10 |
|
10 | 11 | /** @author Stephen Samuel */
|
11 | 12 | trait PluginSupport {
|
@@ -87,7 +88,6 @@ trait PluginSupport {
|
87 | 88 | class ScoverageAwareCompiler(settings: scala.tools.nsc.Settings, reporter: scala.tools.nsc.reporters.Reporter)
|
88 | 89 | extends scala.tools.nsc.Global(settings, reporter) {
|
89 | 90 |
|
90 |
| - val preComponent = new ScoveragePreComponent(this) |
91 | 91 | val instrumentationComponent = new ScoverageInstrumentationComponent(this)
|
92 | 92 | instrumentationComponent.setOptions(new ScoverageOptions())
|
93 | 93 | val testStore = new ScoverageTestStoreComponent(this)
|
@@ -130,7 +130,6 @@ class ScoverageAwareCompiler(settings: scala.tools.nsc.Settings, reporter: scala
|
130 | 130 | override def computeInternalPhases() {
|
131 | 131 | val phs = List(
|
132 | 132 | syntaxAnalyzer -> "parse source into ASTs, perform simple desugaring",
|
133 |
| - preComponent -> "scoverage preComponent", |
134 | 133 | analyzer.namerFactory -> "resolve names, attach symbols to named trees",
|
135 | 134 | analyzer.packageObjects -> "load package objects",
|
136 | 135 | analyzer.typerFactory -> "the meat and potatoes: type the trees",
|
|
0 commit comments