summaryrefslogtreecommitdiff
path: root/test/files/pos/t3999
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/pos/t3999
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/pos/t3999')
0 files changed, 0 insertions, 0 deletions