diff options
author | Paul Phillips <paulp@improving.org> | 2012-12-01 12:38:10 +0100 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-12-02 13:39:05 -0800 |
commit | de6649439e39c1f656644ac090fc49a7a8f02340 (patch) | |
tree | 25639987d8bf130ee570269fc50f285240ccecf6 /src/compiler/scala/tools/nsc/backend/icode/GenICode.scala | |
parent | 47245f547f55df1feff9add1e8cd73edd8d0b154 (diff) | |
download | scala-de6649439e39c1f656644ac090fc49a7a8f02340.tar.gz scala-de6649439e39c1f656644ac090fc49a7a8f02340.tar.bz2 scala-de6649439e39c1f656644ac090fc49a7a8f02340.zip |
Remove TermName -> String implicit.
These implicits were crutches going back to a much Stringier
time. Of course "with great type safety comes great verbosity"
and no doubt this could be cleaned up significantly further.
At least the underpinnings are consistent now - the only
implicits involving name should be String -> TypeName and
String -> TermName.
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/icode/GenICode.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/GenICode.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala index f07c331fb0..fb9e68a3a1 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala @@ -1565,7 +1565,7 @@ abstract class GenICode extends SubComponent { */ def genEqEqPrimitive(l: Tree, r: Tree, ctx: Context)(thenCtx: Context, elseCtx: Context): Unit = { def getTempLocal = ctx.method.lookupLocal(nme.EQEQ_LOCAL_VAR) getOrElse { - ctx.makeLocal(l.pos, AnyRefClass.tpe, nme.EQEQ_LOCAL_VAR) + ctx.makeLocal(l.pos, AnyRefClass.tpe, nme.EQEQ_LOCAL_VAR.toString) } /** True if the equality comparison is between values that require the use of the rich equality |