summaryrefslogtreecommitdiff
path: root/test/files/run/indy-via-macro/macro_1.scala
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2016-09-07 14:17:35 -0700
committerSeth Tisue <seth@tisue.net>2016-10-24 17:45:52 -0700
commite0a8ffe88740995150fa7ca58797a4cceed3169f (patch)
tree79e2dade4a231364d2aedc8e8f8f0d0b034a87c4 /test/files/run/indy-via-macro/macro_1.scala
parent501c21260cff006e7cf2e79739d8319c4dc79901 (diff)
downloadscala-e0a8ffe88740995150fa7ca58797a4cceed3169f.tar.gz
scala-e0a8ffe88740995150fa7ca58797a4cceed3169f.tar.bz2
scala-e0a8ffe88740995150fa7ca58797a4cceed3169f.zip
assorted typo fixes, cleanup, updating of comments
just in time for Halloween. "boostrap" is definitely the most adorable typo evah -- and one of the most common, too. but we don't want to scare anybody.
Diffstat (limited to 'test/files/run/indy-via-macro/macro_1.scala')
-rw-r--r--test/files/run/indy-via-macro/macro_1.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/indy-via-macro/macro_1.scala b/test/files/run/indy-via-macro/macro_1.scala
index 66e319e262..26daad7deb 100644
--- a/test/files/run/indy-via-macro/macro_1.scala
+++ b/test/files/run/indy-via-macro/macro_1.scala
@@ -23,8 +23,8 @@ object Macro {
import c.universe._
s match {
case l @ Literal(Constant(s: String)) =>
- val boostrapSym = typeOf[test.Bootstrap].companion.member(TermName("bootstrap"))
- Indy(boostrapSym, l :: Nil)
+ val bootstrapSym = typeOf[test.Bootstrap].companion.member(TermName("bootstrap"))
+ Indy(bootstrapSym, l :: Nil)
case _ =>
q"_root_.java.util.regex.Pattern.compile($s)"
}