Skip to content

Commit 18c48ba

Browse files
committed
Bumped version string to 1.0.4
1 parent 8288bd0 commit 18c48ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

project/Scoverage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import sbt._
44
object Scoverage extends Build {
55

66
val Org = "org.scoverage"
7-
val Version = "1.0.3"
7+
val Version = "1.0.4"
88
val Scala = "2.11.5"
99
val MockitoVersion = "1.9.5"
1010
val ScalatestVersion = "2.2.2"

scalac-scoverage-plugin/src/main/scala/scoverage/plugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ class ScoverageInstrumentationComponent(val global: Global)
235235
def traverseApplication(t: Tree): Tree = {
236236
t match {
237237
case a: ApplyToImplicitArgs => treeCopy.Apply(a, traverseApplication(a.fun), transformStatements(a.args))
238-
case Apply(Select(_, newTermName("withFilter")), List(fun@Function(params, body)))
239-
if fun.symbol.isSynthetic && fun.toString.contains("check$ifrefutable$1") => t
238+
case Apply(Select(_, name), List(fun@Function(params, body)))
239+
if name.toString == "withFilter" && fun.symbol.isSynthetic && fun.toString.contains("check$ifrefutable$1") => t
240240
case a: Apply => treeCopy.Apply(a, traverseApplication(a.fun), transformStatements(a.args))
241241
case a: TypeApply => treeCopy.TypeApply(a, traverseApplication(a.fun), transformStatements(a.args))
242242
case s: Select => treeCopy.Select(s, traverseApplication(s.qualifier), s.name)

0 commit comments

Comments
 (0)