Skip to content

Commit d4e7bf0

Browse files
committed
#56 Escaping symbols
1 parent ffb94dd commit d4e7bf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/scoverage/plugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package scoverage
33
import java.io.File
44
import java.util.concurrent.atomic.AtomicInteger
55

6+
import scala.reflect.internal.ModifierFlags
67
import scala.tools.nsc._
78
import scala.tools.nsc.plugins.{Plugin, PluginComponent}
89
import scala.tools.nsc.transform.{Transform, TypingTransformers}
@@ -343,7 +344,7 @@ class ScoverageInstrumentationComponent(val global: Global)
343344
&& d.symbol.annotations.toString() == "macroImpl" =>
344345
tree
345346

346-
// will catch macro implemenations, as they must end with Expr, however will catch
347+
// will catch macro implementations, as they must end with Expr, however will catch
347348
// any method that ends in Expr. // todo add way of allowing methods that return Expr
348349
case d: DefDef if d.symbol != null && d.tpt.symbol.fullNameString == "scala.reflect.api.Exprs.Expr" =>
349350
tree

0 commit comments

Comments
 (0)