From 73853bca576d44b5a4a861d731658d70c98fa4ac Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Wed, 25 May 2022 13:12:40 -0700 Subject: [PATCH] Uninstate global.treeTpe --- src/reflect/scala/reflect/internal/Types.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/reflect/scala/reflect/internal/Types.scala b/src/reflect/scala/reflect/internal/Types.scala index f9317053a560..ee88949a3555 100644 --- a/src/reflect/scala/reflect/internal/Types.scala +++ b/src/reflect/scala/reflect/internal/Types.scala @@ -5291,8 +5291,6 @@ trait Types "scala.collection.Iterable", "scala.collection.Iterator") - @deprecated("Use _.tpe", "2.12.12") // used by scala-meta, leave until they remove the dependency. - private[scala] val treeTpe = (t: Tree) => t.tpe private[scala] val typeContainsTypeVar = { val collector = new FindTypeCollector(_.isInstanceOf[TypeVar]); (tp: Type) => collector.collect(tp).isDefined } private[scala] val typeIsSubTypeOfSerializable = (tp: Type) => tp <:< SerializableTpe