From 19570936f689af76bc8f43d8084697393f244083 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Wed, 28 Jan 2015 15:38:52 +0100 Subject: Addressing review comments of #336 --- src/dotty/tools/dotc/transform/FullParameterization.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/dotty/tools/dotc/transform/FullParameterization.scala b/src/dotty/tools/dotc/transform/FullParameterization.scala index 4276f582c..4b205e542 100644 --- a/src/dotty/tools/dotc/transform/FullParameterization.scala +++ b/src/dotty/tools/dotc/transform/FullParameterization.scala @@ -150,6 +150,8 @@ trait FullParameterization { * fully parameterized method definition derived from `originalDef`, which * has `derived` as symbol and `fullyParameterizedType(originalDef.symbol.info)` * as info. + * `abstractOverClass` defines weather the DefDef should abstract over type parameters + * of class that contained original defDef */ def fullyParameterizedDef(derived: TermSymbol, originalDef: DefDef, abstractOverClass: Boolean = true)(implicit ctx: Context): Tree = polyDefDef(derived, trefs => vrefss => { @@ -216,7 +218,7 @@ trait FullParameterization { }) /** A forwarder expression which calls `derived`, passing along - * - the type parameters and enclosing class parameters of `originalDef`, + * - if `abstractOverClass` the type parameters and enclosing class parameters of originalDef`, * - the `this` of the enclosing class, * - the value parameters of the original method `originalDef`. */ -- cgit v1.2.3