diff options
author | Martin Odersky <odersky@gmail.com> | 2011-02-02 18:37:38 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-02-02 18:37:38 +0000 |
commit | fa7838568e703ad8df1e102d0aa2cf47e7311482 (patch) | |
tree | 7b956a53f7cb2a6d15fef364e04cd59d6b5be2d1 /src/compiler/scala/tools/nsc/interactive/REPL.scala | |
parent | 380ce38936363b6dc655b59fc0a1f4ede8578c08 (diff) | |
download | scala-fa7838568e703ad8df1e102d0aa2cf47e7311482.tar.gz scala-fa7838568e703ad8df1e102d0aa2cf47e7311482.tar.bz2 scala-fa7838568e703ad8df1e102d0aa2cf47e7311482.zip |
changed buildStructure to askEnteredTyped
Diffstat (limited to 'src/compiler/scala/tools/nsc/interactive/REPL.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/REPL.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/REPL.scala b/src/compiler/scala/tools/nsc/interactive/REPL.scala index edc195d1d7..0f2ea07ef0 100644 --- a/src/compiler/scala/tools/nsc/interactive/REPL.scala +++ b/src/compiler/scala/tools/nsc/interactive/REPL.scala @@ -84,7 +84,7 @@ object REPL { val typeatResult = new Response[comp.Tree] val completeResult = new Response[List[comp.Member]] val typedResult = new Response[comp.Tree] - val structureResult = new Response[List[comp.Symbol]] + val structureResult = new Response[comp.Tree] def makePos(file: String, off1: String, off2: String) = { val source = toSourceFile(file) @@ -103,7 +103,7 @@ object REPL { show(typedResult) } def doStructure(file: String) { - comp.askStructure(toSourceFile(file), false, structureResult) + comp.askParsedEntered(toSourceFile(file), false, structureResult) show(structureResult) } |