diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-04-07 12:32:40 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-05-02 10:36:43 -0700 |
commit | 86ae2f95ce33ef22f9c9ad40d6a966fbef7d352f (patch) | |
tree | 848f206dcd7b7f6461cec183aef136e8ead30b57 /test/files/jvm/interpreter.check | |
parent | cf3850626a62ce7aefad129b3af5c8184c7226a6 (diff) | |
download | scala-86ae2f95ce33ef22f9c9ad40d6a966fbef7d352f.tar.gz scala-86ae2f95ce33ef22f9c9ad40d6a966fbef7d352f.tar.bz2 scala-86ae2f95ce33ef22f9c9ad40d6a966fbef7d352f.zip |
SI-9740 Repl import fix -Yrepl-class-based
Under `-Yrepl-class-based`, templating must follow the same scoping
as under traditional object-based. The new test shows a typical
case where two values of the same simple name must be imported in
different scopes.
Diffstat (limited to 'test/files/jvm/interpreter.check')
-rw-r--r-- | test/files/jvm/interpreter.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check index ce3c8062d7..9a2162a906 100644 --- a/test/files/jvm/interpreter.check +++ b/test/files/jvm/interpreter.check @@ -353,7 +353,7 @@ defined class Term scala> def f(e: Exp) = e match { // non-exhaustive warning here case _:Fact => 3 } -<console>:22: warning: match may not be exhaustive. +<console>:18: warning: match may not be exhaustive. It would fail on the following inputs: Exp(), Term() def f(e: Exp) = e match { // non-exhaustive warning here ^ |