diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-24 06:18:01 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-24 06:18:01 +0000 |
commit | 4253124eecba6bed38f1dc961c5c4ee39a29f730 (patch) | |
tree | 797f007d753da349feb718f802c476557c47249e /test/files/neg/overload-msg.check | |
parent | 1cbe06c2dcde9606c3d3f6fe86e89fbba3a404e3 (diff) | |
download | scala-4253124eecba6bed38f1dc961c5c4ee39a29f730.tar.gz scala-4253124eecba6bed38f1dc961c5c4ee39a29f730.tar.bz2 scala-4253124eecba6bed38f1dc961c5c4ee39a29f730.zip |
The AnyVal types become source files instead of...
The AnyVal types become source files instead of polite compiler
fictions.
!! You'll need a serious "ant all.clean" now. !!
As of this commit the system is fully bootstrapped and the
synthetic code eliminated: only the source files remain. The
sort-of-AnyVal-companions in scala.runtime.* have all been eliminated
because the actual companions can do everything; deprecated vals in
the scala.runtime package object point to the companions. This left
AnyValCompanion as the only AnyVal related thing in the runtime package:
that made little sense, so I deprecated and moved it as well.
Starr is based on r24066 plus this commit. Closes #4121. Review by rytz,
odersky.
Diffstat (limited to 'test/files/neg/overload-msg.check')
-rw-r--r-- | test/files/neg/overload-msg.check | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/files/neg/overload-msg.check b/test/files/neg/overload-msg.check index 4562c9ec65..c61ace0dd0 100644 --- a/test/files/neg/overload-msg.check +++ b/test/files/neg/overload-msg.check @@ -1,12 +1,12 @@ overload-msg.scala:3: error: overloaded method value + with alternatives: - (Double)Double <and> - (Float)Float <and> - (Long)Long <and> - (scala.Int)scala.Int <and> - (Char)scala.Int <and> - (Short)scala.Int <and> - (Byte)scala.Int <and> - (java.lang.String)java.lang.String + (x: Double)Double <and> + (x: Float)Float <and> + (x: Long)Long <and> + (x: scala.Int)scala.Int <and> + (x: Char)scala.Int <and> + (x: Short)scala.Int <and> + (x: Byte)scala.Int <and> + (x: String)String cannot be applied to (Int(in method f)) def f[Int](y: Int) = x + y ^ |