- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Scala 2.9.1 RC1
On Mon, Jul 25, 2011 at 5:01 PM, Johannes Rudolph
wrote:
> On Mon, Jul 25, 2011 at 4:37 PM, Antonio Cunei wrote:
>> Please help us testing this new release candidate, and let us know
>> of any issues you may detect, or of any binary incompatibility
>> issue that you may encounter. A description of the improvements in
>> Scala 2.9.1 is available below.
>
> sbt 0.7.7 isn't working with 2.9.1.RC1 probably because 25068 is missing.
Here's the error message:
[info] == console ==
[info] 'compiler-interface' not yet compiled for Scala 2.9.1.RC1. Compiling...
/tmp/sbt_17e60b52/LoggerReporter.scala:27: error: not found: value
countElementsAsString
log.warn(Message(countElementsAsString(WARNING.count, "warning") + " found"))
^
/tmp/sbt_17e60b52/LoggerReporter.scala:29: error: not found: value
countElementsAsString
log.error(Message(countElementsAsString(ERROR.count, "error") + " found"))
^
two errors found










Re: Scala 2.9.1 RC1
On 7/25/11 8:02 AM, Johannes Rudolph wrote:
>> sbt 0.7.7 isn't working with 2.9.1.RC1 probably because 25068 is missing.
>
> Here's the error message:
>
> [info] == console ==
> [info] 'compiler-interface' not yet compiled for Scala 2.9.1.RC1. Compiling...
> /tmp/sbt_17e60b52/LoggerReporter.scala:27: error: not found: value
> countElementsAsString
Ah. Been pretty focused on the binary compatibility of the library jar;
we make no such guarantees for compiler. Obviously that's not good
enough -- at the last, "compiler-interface" needs to retain binary
compatibility. This provides further motivation to establish better
boundaries in the compiler jar. I think this will take a bit of time.
(Fixing the error shown above is easy, but the question of what needs to
retain compatibility and the verification that it is indeed compatible
is more uncertain.)
Re: Scala 2.9.1 RC1
On 07/25/2011 09:12 PM, Paul Phillips wrote:
> On 7/25/11 8:02 AM, Johannes Rudolph wrote:
>>> sbt 0.7.7 isn't working with 2.9.1.RC1 probably because 25068 is
>>> missing.
>>
>> Here's the error message:
>>
>> [info] == console ==
>> [info] 'compiler-interface' not yet compiled for Scala 2.9.1.RC1.
>> Compiling...
>> /tmp/sbt_17e60b52/LoggerReporter.scala:27: error: not found: value
>> countElementsAsString
>
> Ah. Been pretty focused on the binary compatibility of the library
> jar; we make no such guarantees for compiler. Obviously that's not
> good enough -- at the last, "compiler-interface" needs to retain
> binary compatibility. This provides further motivation to establish
> better boundaries in the compiler jar. I think this will take a bit
> of time. (Fixing the error shown above is easy, but the question of
> what needs to retain compatibility and the verification that it is
> indeed compatible is more uncertain.)
There are lots of implicit objects/conversions within sbt which handle
compatibility issues within the compiler. I think this is fine for now
and we can do the same for the above error.
hubert
Re: Scala 2.9.1 RC1
> On 7/25/11 8:02 AM, Johannes Rudolph wrote:
> >> sbt 0.7.7 isn't working with 2.9.1.RC1 probably because 25068 is missing.
I opened a ticket, https://issues.scala-lang.org/browse/SI-4838
--
Seth Tisue | Northwestern University | http://tisue.net
lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/