aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-08-01 03:40:06 -0700
committerGitHub <noreply@github.com>2016-08-01 03:40:06 -0700
commit765aecbe3ca4e05c987dde4e868dca08c7585666 (patch)
tree946563d3e2a64d729060b5a3ea4d75f85ff1d482 /tests
parenta0ad3f1d020cc3f3f37bc887874517ace670bf52 (diff)
parent6fc81930c1014638fd7eeba026b8317e8bf5fc32 (diff)
downloaddotty-765aecbe3ca4e05c987dde4e868dca08c7585666.tar.gz
dotty-765aecbe3ca4e05c987dde4e868dca08c7585666.tar.bz2
dotty-765aecbe3ca4e05c987dde4e868dca08c7585666.zip
Merge pull request #1429 from dotty-staging/fix-#1426
Fix #1426: Fix varable printing in REPL
Diffstat (limited to 'tests')
-rw-r--r--tests/repl/vars.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/repl/vars.check b/tests/repl/vars.check
new file mode 100644
index 000000000..5cebbf61c
--- /dev/null
+++ b/tests/repl/vars.check
@@ -0,0 +1,8 @@
+scala> var x = 0
+x: Int = 0
+scala> x = x + 1
+x: Int = 1
+scala> x *= 2
+scala> x
+res2: Int = 2
+scala> :quit