@@ -36,7 +36,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
3636 case class ModuleDef (name : TermName , impl : Template )
3737 extends MemberDef {
3838 type ThisTree [- T >: Untyped ] <: Trees .NameTree [T ] with Trees .MemberDef [T ] with ModuleDef
39- def withName (name : Name )(implicit ctx : Context ): untpd. ModuleDef = cpy.ModuleDef (this )(name.toTermName, impl)
39+ def withName (name : Name )(implicit ctx : Context ): ModuleDef = cpy.ModuleDef (this )(name.toTermName, impl)
4040 }
4141
4242 case class ParsedTry (expr : Tree , handler : Tree , finalizer : Tree ) extends TermTree
@@ -157,7 +157,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
157157 def toTypeFlags : Modifiers = withFlags(flags.toTypeFlags)
158158 def toTermFlags : Modifiers = withFlags(flags.toTermFlags)
159159
160- def withFlags (flags : FlagSet ): untpd. Modifiers =
160+ def withFlags (flags : FlagSet ): Modifiers =
161161 if (this .flags == flags) this
162162 else copy(flags = flags)
163163
@@ -188,7 +188,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
188188 if (annots eq annotations) this
189189 else copy(annotations = annots)
190190
191- def withPrivateWithin (pw : TypeName ): untpd. Modifiers =
191+ def withPrivateWithin (pw : TypeName ): Modifiers =
192192 if (pw.isEmpty) this
193193 else copy(privateWithin = pw)
194194
@@ -243,13 +243,13 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
243243 * from the symbol in this type. These type trees have marker trees
244244 * TypeRefOfSym or InfoOfSym as their originals.
245245 */
246- val References : Property .Key [List [DerivedTypeTree ]] = new Property .Key [ List [ DerivedTypeTree ]]
246+ val References : Property .Key [List [DerivedTypeTree ]] = new Property .Key
247247
248248 /** Property key for TypeTrees marked with TypeRefOfSym or InfoOfSym
249249 * which contains the symbol of the original tree from which this
250250 * TypeTree is derived.
251251 */
252- val OriginalSymbol : Property .Key [Symbol ] = new Property .Key [ Symbol ]
252+ val OriginalSymbol : Property .Key [Symbol ] = new Property .Key
253253
254254 // ------ Creation methods for untyped only -----------------
255255
@@ -296,7 +296,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
296296 def DefDef (name : TermName , tparams : List [TypeDef ], vparamss : List [List [ValDef ]], tpt : Tree , rhs : LazyTree ): DefDef = new DefDef (name, tparams, vparamss, tpt, rhs)
297297 def TypeDef (name : TypeName , rhs : Tree ): TypeDef = new TypeDef (name, rhs)
298298 def Template (constr : DefDef , parents : List [Tree ], self : ValDef , body : LazyTreeList ): Template = new Template (constr, parents, self, body)
299- def Import (expr : Tree , selectors : List [untpd. Tree ]): Import = new Import (expr, selectors)
299+ def Import (expr : Tree , selectors : List [Tree ]): Import = new Import (expr, selectors)
300300 def PackageDef (pid : RefTree , stats : List [Tree ]): PackageDef = new PackageDef (pid, stats)
301301 def Annotated (arg : Tree , annot : Tree ): Annotated = new Annotated (arg, annot)
302302
@@ -397,7 +397,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
397397 abstract class ModsDecorator { def mods : Modifiers }
398398
399399 implicit class modsDeco (val mdef : MemberDef )(implicit ctx : Context ) {
400- def mods : untpd. Modifiers = mdef.rawMods
400+ def mods : Modifiers = mdef.rawMods
401401 }
402402
403403// --------- Copier/Transformer/Accumulator classes for untyped trees -----
@@ -416,7 +416,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
416416 }
417417 }.asInstanceOf [copied.ThisTree [Untyped ]]
418418
419- def ModuleDef (tree : Tree )(name : TermName , impl : Template ): untpd. ModuleDef = tree match {
419+ def ModuleDef (tree : Tree )(name : TermName , impl : Template ): ModuleDef = tree match {
420420 case tree : ModuleDef if (name eq tree.name) && (impl eq tree.impl) => tree
421421 case _ => finalize(tree, untpd.ModuleDef (name, impl))
422422 }
0 commit comments