summaryrefslogtreecommitdiff
path: root/test/files/run/treePrint.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-01-30 06:30:57 +0000
committerPaul Phillips <paulp@improving.org>2010-01-30 06:30:57 +0000
commitc73ab4525e402cbbc0fd745a34c453520c87564c (patch)
tree9283e20e3edc5b0eb68853ba52a5101474dd2037 /test/files/run/treePrint.check
parentbb149d1b96015d83e58de5ea9b380550267c4f06 (diff)
downloadscala-c73ab4525e402cbbc0fd745a34c453520c87564c.tar.gz
scala-c73ab4525e402cbbc0fd745a34c453520c87564c.tar.bz2
scala-c73ab4525e402cbbc0fd745a34c453520c87564c.zip
A compact tree printer, for primitives like mys...
A compact tree printer, for primitives like myself who do all their debugging in the console and need extraneous information filtered out. New option: -Ycompact-trees. Supply that in conjunction with -Xprint:all and suddenly the output is a (relative) masterpiece of concision. Review by anyone who is game to review such a thing. Community?
Diffstat (limited to 'test/files/run/treePrint.check')
-rw-r--r--test/files/run/treePrint.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/treePrint.check b/test/files/run/treePrint.check
new file mode 100644
index 0000000000..3360815ac1
--- /dev/null
+++ b/test/files/run/treePrint.check
@@ -0,0 +1,5 @@
+def foo = {
+ var q: Boolean = false;
+ val x = 5;
+ ((x == 5) || (!q)) || (true)
+}