We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3631f8 + fee4705 commit ce82cfbCopy full SHA for ce82cfb
compiler/test-resources/repl/i7635
@@ -0,0 +1,9 @@
1
+scala> class C { protected val c = 42; override def toString() = s"C($c)" }
2
+// defined class C
3
+scala> val x = C()
4
+val x: C = C(42)
5
+scala> def foo = 3
6
+def foo: Int
7
+scala> foo
8
+val res0: Int = 3
9
+scala> import util.Try
0 commit comments