From 98ccfd77c4748487190387c4e8b3646d77116e22 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 9 Feb 2014 16:36:15 +0100 Subject: Getting rid of some CompleInCreationContexts --- src/dotty/tools/dotc/core/TypeOps.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/core/TypeOps.scala') diff --git a/src/dotty/tools/dotc/core/TypeOps.scala b/src/dotty/tools/dotc/core/TypeOps.scala index deb906417..1a782ac63 100644 --- a/src/dotty/tools/dotc/core/TypeOps.scala +++ b/src/dotty/tools/dotc/core/TypeOps.scala @@ -87,8 +87,8 @@ trait TypeOps { this: Context => } private def enterArgBinding(formal: Symbol, info: Type, cls: ClassSymbol, decls: Scope) = { - val lazyInfo = new LazyType with CompleteInCreationContext { // needed so we do not force `formal`. - def completeInCreationContext(denot: SymDenotation): Unit = { + val lazyInfo = new LazyType { // needed so we do not force `formal`. + def complete(denot: SymDenotation)(implicit ctx: Context): Unit = { denot setFlag formal.flags & RetainedTypeArgFlags denot.info = info } -- cgit v1.2.3