diff --git a/compiler/test-resources/repl/reset-command b/compiler/test-resources/repl/reset-command index 1f10820534b2..e47b3c45f696 100644 --- a/compiler/test-resources/repl/reset-command +++ b/compiler/test-resources/repl/reset-command @@ -12,4 +12,17 @@ scala> def f(thread: Thread) = thread.stop() |method stop in class Thread is deprecated since : see corresponding Javadoc for more information. def f(thread: Thread): Unit -scala> +scala> def resetNoArgsStillWorks = 1 +def resetNoArgsStillWorks: Int + +scala>:reset + +scala> resetNoArgsStillWorks +-- [E006] Not Found Error: ----------------------------------------------------- +1 | resetNoArgsStillWorks + | ^^^^^^^^^^^^^^^^^^^^^ + | Not found: resetNoArgsStillWorks +longer explanation available when compiling with `-explain` +1 error found + +scala>:settings "-Dfoo=bar baz"