diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2013-01-05 11:59:33 +0100 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2013-01-05 12:17:33 +0100 |
commit | 4c7f5a513e24a7ef2437bc5be806052c58d784c5 (patch) | |
tree | ee2ed00751aebb6e30918ba992b4733fae609249 /test/files/run/constrained-types.check | |
parent | b571637c2dbb20208543520f5802fe4de5115616 (diff) | |
download | scala-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.check | 4 |
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. |