Yes this is copied from ILoop.scala in scala repl and then commented because it was commented in the current version of spark repl too.