Closed alebianco closed 11 years ago
this simple code
object week2{ type Foo = Double def bar:Foo = 1.0 }
results in eclipse reporting an error:
identifier expected but '.' found
because the worksheet generates the following code
object week2{ type Foo = Doubleimport scala.runtime.WorksheetSupport._; def main(args: Array[String])=$execute{;$skip(53); def bar:Foo = 1.0;System.out.println("""bar: => week2.Foo""")} }.
also, I've found that adding some neutral instruction, line println("hello"), at the beginning of the worksheet, is a quick workaround to the problem
println("hello")
This appears to be fixed with the latest V0.1.2 release.
this simple code
results in eclipse reporting an error:
because the worksheet generates the following code
also, I've found that adding some neutral instruction, line
println("hello")
, at the beginning of the worksheet, is a quick workaround to the problem