aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-19 23:00:31 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:29 +0200
commitd101f49223ca9b3cf807125fa42af581b729d9ce (patch)
tree3ad9ea25b1515809c0e59c4540e1e30aa7a4a084 /compiler/src/dotty/tools/dotc/core/Symbols.scala
parent2e04574c4791428ed43f2fb98884361b2cd4e659 (diff)
downloaddotty-d101f49223ca9b3cf807125fa42af581b729d9ce.tar.gz
dotty-d101f49223ca9b3cf807125fa42af581b729d9ce.tar.bz2
dotty-d101f49223ca9b3cf807125fa42af581b729d9ce.zip
Polishings
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Symbols.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Symbols.scala b/compiler/src/dotty/tools/dotc/core/Symbols.scala
index a3c8e54b2..95ff1cb75 100644
--- a/compiler/src/dotty/tools/dotc/core/Symbols.scala
+++ b/compiler/src/dotty/tools/dotc/core/Symbols.scala
@@ -516,8 +516,8 @@ object Symbols {
// ParamInfo types and methods
def isTypeParam(implicit ctx: Context) = denot.is(TypeParam)
def paramName(implicit ctx: Context) = name.asInstanceOf[ThisName]
- def paramInfo(implicit ctx: Context) = denot.info.bounds
- def paramInfoAsSeenFrom(pre: Type)(implicit ctx: Context) = pre.memberInfo(this).bounds
+ def paramInfo(implicit ctx: Context) = denot.info
+ def paramInfoAsSeenFrom(pre: Type)(implicit ctx: Context) = pre.memberInfo(this)
def paramInfoOrCompleter(implicit ctx: Context): Type = denot.infoOrCompleter
def paramVariance(implicit ctx: Context) = denot.variance
def paramRef(implicit ctx: Context) = denot.typeRef