2
在下面的代碼導致此編譯時間錯誤:Missing closing brace } assumed here
'缺少閉括號}假定這裏的工作表的Scala錯誤
該目的命名爲「討好」 Scala的工作表中定義的。我認爲代碼是正確的?
object Currying {
def add(x:Int, y:Int) = x + y
add(1, 2) // 3
} //compile error is here
我看到ScalaIDE相同的行爲在工作表的錯誤我只注意到'編譯號:3.0.3-20140327-1716-Typesafe' – tuxdna