diff options
author | Paul Phillips <paulp@improving.org> | 2012-04-06 11:58:05 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-04-06 11:58:05 -0700 |
commit | 8e179506e7c230a9ff01cda9584ce2a73953e446 (patch) | |
tree | 0bbcf7f956784646fb996b8c6a944a3d8155e80c /src/library | |
parent | 22c229e4ed2100d662fe05f9a610186ce1ebbb5a (diff) | |
parent | 115f5467e3f3ff07abbba2b23c40c2ff0d7ddd1b (diff) | |
download | scala-8e179506e7c230a9ff01cda9584ce2a73953e446.tar.gz scala-8e179506e7c230a9ff01cda9584ce2a73953e446.tar.bz2 scala-8e179506e7c230a9ff01cda9584ce2a73953e446.zip |
Merge commit 'pull/358/head' into develop
Diffstat (limited to 'src/library')
-rwxr-xr-x | src/library/scala/reflect/api/Symbols.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/library/scala/reflect/api/Symbols.scala b/src/library/scala/reflect/api/Symbols.scala index 383312b8f5..ab59a4a39a 100755 --- a/src/library/scala/reflect/api/Symbols.scala +++ b/src/library/scala/reflect/api/Symbols.scala @@ -134,6 +134,10 @@ trait Symbols { self: Universe => */ def isAbstractType : Boolean + /** Is this symbol an overloaded method? + */ + def isOverloaded: Boolean + /** The type signature of this symbol. * Note if the symbol is a member of a class, one almost always is interested * in `typeSignatureIn` with a site type instead. @@ -180,6 +184,11 @@ trait Symbols { self: Universe => */ def selfType: Type + /** The overloaded alternatives of this symbol */ + def alternatives: List[Symbol] + + def resolveOverloaded(pre: Type = NoPrefix, targs: Seq[Type] = List(), actuals: Seq[Type]): Symbol + /** A fresh symbol with given name `name`, position `pos` and flags `flags` that has * the current symbol as its owner. */ |