diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-05-17 14:12:57 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-05-17 14:12:57 -0700 |
commit | 7f514bba9ff1993ccbfdcf4a37a8045849f1647a (patch) | |
tree | 73dfddc43ea3b460a60a876c5bbd5489dec810b9 /test/files/run | |
parent | e753135f02a8177e809937e56fed5c054091691f (diff) | |
download | scala-7f514bba9ff1993ccbfdcf4a37a8045849f1647a.tar.gz scala-7f514bba9ff1993ccbfdcf4a37a8045849f1647a.tar.bz2 scala-7f514bba9ff1993ccbfdcf4a37a8045849f1647a.zip |
SI-4625 Warn on first non-toplevel only
Fixed the warning when main module is accompanied by snippets.
Minor clean-up so even I can follow what is returned.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t4625c.script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t4625c.script b/test/files/run/t4625c.script index fa14f43950..16159208e0 100644 --- a/test/files/run/t4625c.script +++ b/test/files/run/t4625c.script @@ -1,5 +1,6 @@ val x = "value x" +val y = "value y" object Main extends App { println(s"Test ran with $x.") |