summaryrefslogtreecommitdiff
path: root/test/files/run/t1987.flags
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-01-13 13:32:56 -0800
committerPaul Phillips <paulp@improving.org>2012-01-13 13:48:12 -0800
commit66a3623d59a261830076c7ad2b04fbb82e415547 (patch)
tree8e1d0ca2ae15e6b753b2c8c47ddcaac48ec1dd86 /test/files/run/t1987.flags
parentb0de5f13329aa24752fae079c50cc0584471379e (diff)
downloadscala-66a3623d59a261830076c7ad2b04fbb82e415547.tar.gz
scala-66a3623d59a261830076c7ad2b04fbb82e415547.tar.bz2
scala-66a3623d59a261830076c7ad2b04fbb82e415547.zip
Fixed overloading in package objects.
Implementing a warning for the behavior described in SI-1987 gave me enough of a foot in the door to fix it rather than warning about it. I suppose this is a variation of rubber ducky debugging. % scalac -Ylog:typer test/files/run/t1987.scala [log typer] !!! Overloaded package object member resolved incorrectly. Discarded: def duh(n: Double): Unit Using: val duh: (n: Double)Unit <and> (n: Long)Unit Review by @odersky.
Diffstat (limited to 'test/files/run/t1987.flags')
-rw-r--r--test/files/run/t1987.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t1987.flags b/test/files/run/t1987.flags
new file mode 100644
index 0000000000..e8fb65d50c
--- /dev/null
+++ b/test/files/run/t1987.flags
@@ -0,0 +1 @@
+-Xfatal-warnings \ No newline at end of file