fork download
  1. object Main{
  2. def doit() : Boolean = {
  3. println("Hey!")
  4. }
  5.  
  6. def main = {
  7. val b = !doit()
  8. val c = a && b && doit()
  9. val d = c || doit()
  10. if(doit())
  11. a
  12. doit()
  13. }
  14. }
Runtime error #stdin #stdout 0.02s 211200KB
stdin
Standard input is empty
stdout
Standard output is empty