aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-06-11 19:11:33 +0200
committerMartin Odersky <odersky@gmail.com>2015-06-19 12:11:18 +0200
commit2813b01235aaebdae1522bc31d69b830e1830b9b (patch)
tree5474d110d74f0a75260e242cef1154eb08d753d4 /src/dotty/tools/dotc/core/SymDenotations.scala
parent8c28293fd52213616ed8ca3a2f600eb1e19debe0 (diff)
downloaddotty-2813b01235aaebdae1522bc31d69b830e1830b9b.tar.gz
dotty-2813b01235aaebdae1522bc31d69b830e1830b9b.tar.bz2
dotty-2813b01235aaebdae1522bc31d69b830e1830b9b.zip
Implement trait parameters
Add necessary logic to Mixin. Also add tests that all parameterized traits are called with parameters set.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index 9db75ee94..d8dddb082 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -516,7 +516,7 @@ object SymDenotations {
!isAnonymousFunction &&
!isCompanionMethod
- /** Is this a setter? */
+ /** Is this a getter? */
final def isGetter(implicit ctx: Context) =
(this is Accessor) && !originalName.isSetterName && !originalName.isScala2LocalSuffix