summaryrefslogtreecommitdiff
path: root/test/files/pos/t1001.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-08-18 14:53:44 +0000
committerMartin Odersky <odersky@gmail.com>2008-08-18 14:53:44 +0000
commitaa43994c9648183a81cba2557dc3188ef6ca341e (patch)
tree4fb2ee654c885db2cc549a7d8ebb1d7c20cdfbdd /test/files/pos/t1001.scala
parent98ba45e4f615bdb6b04694b3e3099cb1029679ba (diff)
downloadscala-aa43994c9648183a81cba2557dc3188ef6ca341e.tar.gz
scala-aa43994c9648183a81cba2557dc3188ef6ca341e.tar.bz2
scala-aa43994c9648183a81cba2557dc3188ef6ca341e.zip
corrected several problems with error reporting...
corrected several problems with error reporting: positions checked twice, warnings masking errors. Refined solution of forward implicits without5 result type.
Diffstat (limited to 'test/files/pos/t1001.scala')
-rwxr-xr-xtest/files/pos/t1001.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t1001.scala b/test/files/pos/t1001.scala
new file mode 100755
index 0000000000..88321e6e8e
--- /dev/null
+++ b/test/files/pos/t1001.scala
@@ -0,0 +1,6 @@
+class Foo;
+
+object Overload{
+ val foo = classOf[Foo].getConstructors()(0)
+ foo.getDeclaringClass
+}