summaryrefslogtreecommitdiff
path: root/Test.scala
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2005-11-29 18:19:38 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2005-11-29 18:19:38 +0000
commit15724bed1b9211a260805af2e6005df8d0d39f56 (patch)
tree3d97e021455e98880e99f74aea190f5350a591ce /Test.scala
parent4cf6770e38bb7ab8654b6ce225d181f5e3ca51b4 (diff)
downloadscala-15724bed1b9211a260805af2e6005df8d0d39f56.tar.gz
scala-15724bed1b9211a260805af2e6005df8d0d39f56.tar.bz2
scala-15724bed1b9211a260805af2e6005df8d0d39f56.zip
* Added semantic token models to support Eclips...
* Added semantic token models to support Eclipse IDE. Fixed positions * to handle Windows newlines Fixed as much code generation line number * issues as possible, but some issues may remain.
Diffstat (limited to 'Test.scala')
-rw-r--r--Test.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test.scala b/Test.scala
new file mode 100644
index 0000000000..1d8d7afd76
--- /dev/null
+++ b/Test.scala
@@ -0,0 +1,7 @@
+object Test extends Application {
+ if (1 == 0) throw new Error();
+ bar;
+ def bar = foo;
+ def foo = if (true)
+ throw new Error();
+}