diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-12-10 11:15:53 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-12-10 15:38:09 +0100 |
commit | f417380637428d8a57c38d2305c9cf09fd7d6366 (patch) | |
tree | 9b037a831b12fe3fc71bdee9e5ec9ee0b85cf6f1 /test/files/run/macro-typecheck-macrosdisabled2 | |
parent | 75cc6cf256df9e152eaec771121ce0db9f7039f8 (diff) | |
download | scala-f417380637428d8a57c38d2305c9cf09fd7d6366.tar.gz scala-f417380637428d8a57c38d2305c9cf09fd7d6366.tar.bz2 scala-f417380637428d8a57c38d2305c9cf09fd7d6366.zip |
typeCheck => typecheck
This method has always been slightly bothering me, so I was really glad
when Denys asked me to rename it. Let’s see how it pans out.
Diffstat (limited to 'test/files/run/macro-typecheck-macrosdisabled2')
-rw-r--r-- | test/files/run/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala b/test/files/run/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala index 3d12020109..d37a654957 100644 --- a/test/files/run/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala +++ b/test/files/run/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala @@ -6,7 +6,7 @@ object Macros { val ru = Select(Select(Select(Select(Ident(TermName("scala")), TermName("reflect")), TermName("runtime")), TermName("package")), TermName("universe")) val tree1 = Apply(Select(ru, TermName("reify")), List(Apply(Select(Ident(TermName("scala")), TermName("Array")), List(Literal(Constant(2)))))) - val ttree1 = c.typeCheck(tree1, withMacrosDisabled = false) + val ttree1 = c.typecheck(tree1, withMacrosDisabled = false) c.Expr[String](Literal(Constant(ttree1.toString))) } @@ -22,7 +22,7 @@ object Macros { build.setTypeSignature(ru, rutpe) val tree2 = Apply(Select(Ident(ru), TermName("reify")), List(Apply(Select(Ident(TermName("scala")), TermName("Array")), List(Literal(Constant(2)))))) - val ttree2 = c.typeCheck(tree2, withMacrosDisabled = true) + val ttree2 = c.typecheck(tree2, withMacrosDisabled = true) c.Expr[String](Literal(Constant(ttree2.toString))) } |