diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/reflect/api/ToolBoxes.scala | 4 | ||||
-rw-r--r-- | src/library/scala/reflect/makro/Typers.scala | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/reflect/api/ToolBoxes.scala b/src/library/scala/reflect/api/ToolBoxes.scala index aefd6b511c..15c9fcc403 100644 --- a/src/library/scala/reflect/api/ToolBoxes.scala +++ b/src/library/scala/reflect/api/ToolBoxes.scala @@ -59,14 +59,14 @@ trait ToolBoxes { self: Universe => * Note that this does not revert the tree to its pre-typer shape. * For more info, read up https://issues.scala-lang.org/browse/SI-5464. */ - def resetAllAttrs[T <: Tree](tree: T): T + def resetAllAttrs(tree: Tree): Tree /** Recursively resets locally defined symbols and types in a given tree. * * Note that this does not revert the tree to its pre-typer shape. * For more info, read up https://issues.scala-lang.org/browse/SI-5464. */ - def resetLocalAttrs[T <: Tree](tree: T): T + def resetLocalAttrs(tree: Tree): Tree /** Compiles and runs a tree using this ToolBox. * diff --git a/src/library/scala/reflect/makro/Typers.scala b/src/library/scala/reflect/makro/Typers.scala index c62c5f254c..90024a4f7a 100644 --- a/src/library/scala/reflect/makro/Typers.scala +++ b/src/library/scala/reflect/makro/Typers.scala @@ -66,14 +66,14 @@ trait Typers { * Note that this does not revert the tree to its pre-typer shape. * For more info, read up https://issues.scala-lang.org/browse/SI-5464. */ - def resetAllAttrs[T <: Tree](tree: T): T + def resetAllAttrs(tree: Tree): Tree /** Recursively resets locally defined symbols and types in a given tree. * * Note that this does not revert the tree to its pre-typer shape. * For more info, read up https://issues.scala-lang.org/browse/SI-5464. */ - def resetLocalAttrs[T <: Tree](tree: T): T + def resetLocalAttrs(tree: Tree): Tree /** Represents an error during typechecking */ |