@@ -270,11 +270,11 @@ trait Symbols { this: Context =>
270270 newSymbol(cls, nme.CONSTRUCTOR , flags | Method , MethodType (paramNames, paramTypes, cls.typeRef), privateWithin, coord)
271271
272272 /** Create an empty default constructor symbol for given class `cls`. */
273- def newDefaultConstructor (cls : ClassSymbol ): Symbol =
273+ def newDefaultConstructor (cls : ClassSymbol ): TermSymbol =
274274 newConstructor(cls, EmptyFlags , Nil , Nil )
275275
276276 /** Create a synthetic lazy implicit value */
277- def newLazyImplicit (info : Type ): Symbol =
277+ def newLazyImplicit (info : Type ): TermSymbol =
278278 newSymbol(owner, LazyImplicitName .fresh(), Lazy , info)
279279
280280 /** Create a symbol representing a selftype declaration for class `cls`. */
@@ -308,7 +308,7 @@ trait Symbols { this: Context =>
308308 /** Create a new skolem symbol. This is not the same as SkolemType, even though the
309309 * motivation (create a singleton referencing to a type) is similar.
310310 */
311- def newSkolem (tp : Type ): Symbol = newSymbol(defn.RootClass , nme.SKOLEM , SyntheticArtifact | NonMember | Permanent , tp)
311+ def newSkolem (tp : Type ): TermSymbol = newSymbol(defn.RootClass , nme.SKOLEM , SyntheticArtifact | NonMember | Permanent , tp)
312312
313313 def newErrorSymbol (owner : Symbol , name : Name , msg : => Message ): Symbol = {
314314 val errType = ErrorType (msg)
0 commit comments