by shigemk2

当面は技術的なことしか書かない

scala type annotation intellij

IntelliJだと、こういうふうに変数の型を定義しないとデフォルトでwarningになるっぽい。

val a = "hoge"

Explicit type annotation って怒られる。

Beyond Code Style | IntelliJ Scala plugin blog