summaryrefslogtreecommitdiff
path: root/test/files/shl/basic.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/shl/basic.check')
-rw-r--r--test/files/shl/basic.check42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/files/shl/basic.check b/test/files/shl/basic.check
deleted file mode 100644
index 9bc55fe31a..0000000000
--- a/test/files/shl/basic.check
+++ /dev/null
@@ -1,42 +0,0 @@
-> > > > > > (): scala.Unit(())
-> false: scala.Boolean(false)
-> 1: scala.Char('1')
-> 2: scala.Int(2)
-> 3: scala.Long(3)
-> 4.0: scala.Float(4.0)
-> 5.0: scala.Double(5.0)
-> null: scala.AllRef(null)
-> hello: java.lang.String("hello")
-> List(): scala.Nil.type
-> List(1,2,3): scala.List[scala.Int]
-> > Exception in thread "main" java.lang.Error: error
- at $console$15.<init>(<console>:1)
-> > | val x: scala.Int(5) = 5
-5: scala.Int(5)
-> <console>:1: not found: value y
-y
-^
-> > def fact(scala.Int): scala.Int
-> <console>:1: not found: value fac
-fac(5)
-^
-> 120: scala.Int
-> > | def length[X](scala.Int,scala.List[X]): scala.Int
-> <console>:1: wrong number of arguments for method length(scala.Int,scala.List[X])
-length(Nil)
- ^
-> 0: scala.Int
-> 5: scala.Int
-> > | | | class Point extends java.lang.Object with scala.ScalaObject {
- def move(scala.Int,scala.Int): $console$25.Point,
- def toString(): java.lang.String
-}
-> val p1: $console$25.Point = Point(3,7)
-> Point(10,10): $console$25.Point
-> > true: scala.Boolean
-> false: scala.Boolean
-> string: java.lang.String("string")
-> Exception in thread "main" java.lang.ClassCastException: class java.lang.String is not an instance of class scala.Int
- at $console$31.<init>(<console>:1)
-> > >
-[Leaving scalarun]