summaryrefslogtreecommitdiff
path: root/test/files/run/constrained-types.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2013-01-05 11:59:33 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2013-01-05 12:17:33 +0100
commit4c7f5a513e24a7ef2437bc5be806052c58d784c5 (patch)
treeee2ed00751aebb6e30918ba992b4733fae609249 /test/files/run/constrained-types.check
parentb571637c2dbb20208543520f5802fe4de5115616 (diff)
downloadscala-4c7f5a513e24a7ef2437bc5be806052c58d784c5.tar.gz
scala-4c7f5a513e24a7ef2437bc5be806052c58d784c5.tar.bz2
scala-4c7f5a513e24a7ef2437bc5be806052c58d784c5.zip
SI-6918 Changes REPL output from "defined module" to "defined object"
Diffstat (limited to 'test/files/run/constrained-types.check')
-rw-r--r--test/files/run/constrained-types.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/constrained-types.check b/test/files/run/constrained-types.check
index da97a378e6..d4b8692fa3 100644
--- a/test/files/run/constrained-types.check
+++ b/test/files/run/constrained-types.check
@@ -37,7 +37,7 @@ scala> object Stuff {
val x = "hello"
val y : Int @Annot(x) = 10
}
-defined module Stuff
+defined object Stuff
scala>
@@ -127,7 +127,7 @@ defined class rep
scala>
scala> object A { val x = "hello" : String @ rep }
-defined module A
+defined object A
warning: previously defined class A is not a companion to object A.
Companions must be defined together; you may wish to use :paste mode for this.