Permalink
Browse files

Eliminate useless type parameter.

  • Loading branch information...
paulp committed Apr 29, 2012
1 parent 774cd4f commit e6d5d22d280909dacf635a0a2398158a1b1a6ae1
@@ -2053,7 +2053,7 @@ trait Symbols extends api.Symbols { self: SymbolTable =>
*/
def sealedDescendants: Set[Symbol] = children.flatMap(_.sealedDescendants) + this
@inline final def orElse[T](alt: => Symbol): Symbol = if (this ne NoSymbol) this else alt
@inline final def orElse(alt: => Symbol): Symbol = if (this ne NoSymbol) this else alt
// ------ toString -------------------------------------------------------------------
@@ -443,7 +443,7 @@ class DummyMirror(cl: ClassLoader) extends api.Mirror {
def name: Name = notSupported()
def fullName: String = notSupported()
def id: Int = notSupported()
def orElse[T](alt: => Symbol): Symbol = notSupported()
def orElse(alt: => Symbol): Symbol = notSupported()
def filter(cond: Symbol => Boolean): Symbol = notSupported()
def suchThat(cond: Symbol => Boolean): Symbol = notSupported()
def privateWithin: Symbol = notSupported()
@@ -146,7 +146,7 @@ trait Symbols { self: Universe =>
/** ...
*/
def orElse[T](alt: => Symbol): Symbol
def orElse(alt: => Symbol): Symbol
/** ...
*/

0 comments on commit e6d5d22

Please sign in to comment.