aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/StdNames.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-10 17:21:50 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-10 17:21:50 +0100
commit68d7ea1534f6145d59506138d6af169cc27f9aa3 (patch)
treeb08c7b165a8b2d20380a26cd52c5b524a496cea4 /src/dotty/tools/dotc/core/StdNames.scala
parent5d38be773a2083fa2112f5cb688070b867634120 (diff)
downloaddotty-68d7ea1534f6145d59506138d6af169cc27f9aa3.tar.gz
dotty-68d7ea1534f6145d59506138d6af169cc27f9aa3.tar.bz2
dotty-68d7ea1534f6145d59506138d6af169cc27f9aa3.zip
Removing conforms from StdNames because it shadows Predef.conforms, which is needed a lot for implicit search.
We need to use a less common name for Predef.conforms!
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r--src/dotty/tools/dotc/core/StdNames.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala
index 73c53df6a..5549ddd92 100644
--- a/src/dotty/tools/dotc/core/StdNames.scala
+++ b/src/dotty/tools/dotc/core/StdNames.scala
@@ -339,7 +339,7 @@ object StdNames {
val ClassManifestFactory: N = "ClassManifestFactory"
val classOf: N = "classOf"
val clone_ : N = "clone"
- val conforms: N = "conforms"
+ // val conforms : N = "conforms" // Dotty deviation: no special treatment of conforms, so the occurrence of the name here would cause to unintended implicit shadowing. Should find a less common name for it in Predef.
val copy: N = "copy"
val currentMirror: N = "currentMirror"
val definitions: N = "definitions"