logo       

Eclipse plugin 2.x Scala compiler version ?: msg#00048

lang.scala

Subject: Eclipse plugin 2.x Scala compiler version ?

I have been playing with the eclipse scala plugin for the first time, plugin version (2.1.6) from http://lamp.epfl.ch/~mcdirmid/scala-plugin under JDK 1.5 and eclipse 3.2M4 as read.

I thought I would be working with my disc SCALA_HOME installation but after some syntax errors I have deduced it was not, and I have seen that there is a scala-compiler.jar within the plugin.

I could not found the compiler version within.

Maybe it's a provisional situation because of the Scala2 beta state to embed the compiler within.

-----------

Assuming it should be the Scala2 beta I'd like to report

Testing the mixin example from the web introduction (http://scala.epfl.ch/intro/mixin.html)
with a separate file for every class/object

there is a syntax error with the following statement
(it rejects the 'with' keyword: '{ expected'

class ColoredPoint3D(xc: Int, yc: Int, zc: Int, col: String)
extends Point3D(xc, yc, zc)
with ColoredPoint2D(xc, yc, col);

(From the Scala2 changes document it seems it should be accepted)

-------------------------------------------------------------

I hope it helps.

Cheers.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise