diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-09-16 14:46:14 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-09-16 14:46:14 +0200 |
commit | 05be78101c694974ae964bb26b48c1a0b5a372c1 (patch) | |
tree | 02972bd11f320a50322289f1dd5b699afb2315ed /src/compiler/scala/tools/nsc/typechecker/Implicits.scala | |
parent | 33d43db1b83745ac6717de1f7c70a0a07a5a07c7 (diff) | |
download | scala-05be78101c694974ae964bb26b48c1a0b5a372c1.tar.gz scala-05be78101c694974ae964bb26b48c1a0b5a372c1.tar.bz2 scala-05be78101c694974ae964bb26b48c1a0b5a372c1.zip |
extinguishes some magic from scalac
First I was quite skeptical about Paul's dislike of names that contain
"magic" in them.
However when I went through the code and tried to think of "magic"-less
alternatives, it became apparent that resulting names are much better
than the originals.
Therefore I removed all the magic from reflection and macros. Feels good.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Implicits.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala index 6a91922b4c..6a2dc614a7 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala @@ -1334,7 +1334,7 @@ trait Implicits { def wrapResult(tree: Tree): SearchResult = if (tree == EmptyTree) SearchFailure else new SearchResult(tree, EmptyTreeTypeSubstituter) - /** Materializes implicits of magic types (currently, manifests and tags). + /** Materializes implicits of predefined types (currently, manifests and tags). * Will be replaced by implicit macros once we fix them. */ private def materializeImplicit(pt: Type): SearchResult = |