use standard Context.weakTypeOf

This commit is contained in:
Mark Harrah 2013-01-28 17:14:53 -05:00
parent 2929e4e724
commit f6c73ff4c7
1 changed files with 0 additions and 2 deletions

View File

@ -48,8 +48,6 @@ final class ContextUtil[C <: Context](val ctx: C)
def getPos(sym: Symbol) = if(sym eq null) NoPosition else sym.pos
def atypeOf[T](implicit att: WeakTypeTag[T]): Type = att.tpe
/** Constructs a unique term name with the given prefix within this Context.
* (The current implementation uses Context.fresh, which increments*/
def freshTermName(prefix: String) = newTermName(ctx.fresh("$" + prefix))