diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-09-19 13:01:40 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-09-19 13:01:40 +0200 |
commit | 3c542251e04cd85903ec12f5747c86d5c6c1a867 (patch) | |
tree | a343444eeb77f882e9dca37b05edc7d91afaca59 /src/reflect/scala/reflect/api/Trees.scala | |
parent | eb49e8176f334eebc77072cc9334c7f1875b09a2 (diff) | |
download | scala-3c542251e04cd85903ec12f5747c86d5c6c1a867.tar.gz scala-3c542251e04cd85903ec12f5747c86d5c6c1a867.tar.bz2 scala-3c542251e04cd85903ec12f5747c86d5c6c1a867.zip |
SI-6390 removes Trees#ArrayValue from the API
Introduced by uncurry - therefore it can be seen
neither by macros, nor by runtime reflection.
Despite never being pickled, ArrayValue is supported by unpickler
so I couldn't move it exclusively to scala-compiler.jar.
Figuring out the mysterious reason for pickling ArrayValue is left
to future work.
Diffstat (limited to 'src/reflect/scala/reflect/api/Trees.scala')
-rw-r--r-- | src/reflect/scala/reflect/api/Trees.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/reflect/scala/reflect/api/Trees.scala b/src/reflect/scala/reflect/api/Trees.scala index e46a977be8..18d960ae04 100644 --- a/src/reflect/scala/reflect/api/Trees.scala +++ b/src/reflect/scala/reflect/api/Trees.scala @@ -317,14 +317,6 @@ trait Trees extends base.Trees { self: Universe => val args: List[Tree] } - override type ArrayValue >: Null <: TermTree with ArrayValueApi - - /** The API that all array values support */ - trait ArrayValueApi extends TermTreeApi { this: ArrayValue => - val elemtpt: Tree - val elems: List[Tree] - } - override type Function >: Null <: TermTree with SymTree with FunctionApi /** The API that all functions support */ @@ -565,7 +557,6 @@ trait Trees extends base.Trees { self: Universe => def Star(tree: Tree, elem: Tree): Star def Bind(tree: Tree, name: Name, body: Tree): Bind def UnApply(tree: Tree, fun: Tree, args: List[Tree]): UnApply - def ArrayValue(tree: Tree, elemtpt: Tree, trees: List[Tree]): ArrayValue def Function(tree: Tree, vparams: List[ValDef], body: Tree): Function def Assign(tree: Tree, lhs: Tree, rhs: Tree): Assign def AssignOrNamedArg(tree: Tree, lhs: Tree, rhs: Tree): AssignOrNamedArg |