diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-05-17 18:35:09 +0300 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-05-17 18:36:49 +0300 |
commit | 7813d660bea0fd9b987493baef019ea92f876a2f (patch) | |
tree | ee64be0684775d7b33161530296fe0a5816b6e22 /src/library | |
parent | 8ce86909bf7d7b7ff5c1f65b35288c90c1f8548a (diff) | |
download | scala-7813d660bea0fd9b987493baef019ea92f876a2f.tar.gz scala-7813d660bea0fd9b987493baef019ea92f876a2f.tar.bz2 scala-7813d660bea0fd9b987493baef019ea92f876a2f.zip |
fixes resetAttrs
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 */ |