aboutsummaryrefslogtreecommitdiff
path: root/tests/repl/errmsgs.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/repl/errmsgs.check')
-rw-r--r--tests/repl/errmsgs.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/repl/errmsgs.check b/tests/repl/errmsgs.check
index 066d98d0f..2bcb40eb0 100644
--- a/tests/repl/errmsgs.check
+++ b/tests/repl/errmsgs.check
@@ -73,4 +73,9 @@ scala> abstract class C {
|
| where: T is a type in the initalizer of value s which is an alias of String
| T' is a type in method f which is an alias of Int
+scala> class Foo() { def bar: Int = 1 }; val foo = new Foo(); foo.barr
+-- [E008] Member Not Found Error: <console> ----------------------------------------------------------------------------
+4 |class Foo() { def bar: Int = 1 }; val foo = new Foo(); foo.barr
+ | ^^^^^^^^
+ | value `barr` is not a member of Foo(foo) - did you mean `foo.bar`?
scala> :quit