/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:21: error: case object AND has case ancestor Keyword, but case-to-case inheritance is prohibited. To overcome this limitation, use extractors to pattern match on non-leaf nodes.
case object AND extends Keyword("AND")
^
one error found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).