Main.scala:15: error: inferred type arguments [Object] do not conform to method |:'s type parameter bounds [B >: A <: Test.JValue]
val foo = 42 |: "hello" |: Nil
^
one error found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).