Scala REPL giving inconsistent results

#1

Hello,

When I type some command at scala REPL using :paste, the code gives the following information and exits me out. Do you know which command leads to this output?

scala> {
| println(s"Comstructing for $name")
|
#:: SecurityManager
+: Seq
:+ SeqCharSequence
:: SerialVersionUID
<:< Serializable
=:= Set
??? Short
AbstractMethodError Short2short
Any Singleton
AnyRef Some
AnyVal Specializable
AnyValCompanion StackOverflowError
App StackTraceElement
Appendable Stream
ArithmeticException StrictMath
Array String
ArrayCharSequence StringBuffer
ArrayIndexOutOfBoundsException StringBuilder
ArrayStoreException StringCanBuildFrom

0 Likes