diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-20 14:23:40 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-20 18:42:09 -0700 |
commit | 6d7bcd5818b856d4596b57b7e9f1543b71ed7329 (patch) | |
tree | 0bc4788208a585ebd25e36bc929c667d784ce6d0 /src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala | |
parent | b9e933ffca8108ed86c09a298a44636b714f7a19 (diff) | |
download | scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.tar.gz scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.tar.bz2 scala-6d7bcd5818b856d4596b57b7e9f1543b71ed7329.zip |
Lots of tedious warning and tree printing work.
Fewer deprecation warnings, prettier trees, prettier
symbols, more polished error messages.
Oh the interesting people you meet handling warnings, I
feel sorry for you all that I get to do it all the time.
One of the characters I met invited me into the "Dead Code
Society" and that's what I'm doing on Tuesdays now. No of
course you haven't, it's a SECRET society.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala index 2f4eff30d2..da87d38ab0 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala @@ -136,7 +136,7 @@ trait SyntheticMethods extends ast.TreeDSL { * where that is the given methods first parameter. */ def thatTest(eqmeth: Symbol): Tree = - gen.mkIsInstanceOf(Ident(eqmeth.firstParam), typeCaseType(clazz), true, false) + gen.mkIsInstanceOf(Ident(eqmeth.firstParam), classExistentialType(clazz), true, false) /** (that.asInstanceOf[this.C]) * where that is the given methods first parameter. |