aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2017-04-04 12:04:19 +0200
committerGitHub <noreply@github.com>2017-04-04 12:04:19 +0200
commita71cb970b779692d2dd68cd9ba00d2be5e6759be (patch)
treeb3a1007bcdd0b5e325cf730d9d5610dc08ab386a /tests
parentabd09ff1fcd4a43b67b1dc029f1d375d0e1b57b9 (diff)
parent4f937e1735574ffda679761a0a9a8bebbe9cb2ae (diff)
downloaddotty-a71cb970b779692d2dd68cd9ba00d2be5e6759be.tar.gz
dotty-a71cb970b779692d2dd68cd9ba00d2be5e6759be.tar.bz2
dotty-a71cb970b779692d2dd68cd9ba00d2be5e6759be.zip
Merge pull request #2162 from abeln/infix-op
Fix #1959: infix type operators in the REPL
Diffstat (limited to 'tests')
-rw-r--r--tests/repl/infixTypeOp.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/repl/infixTypeOp.check b/tests/repl/infixTypeOp.check
new file mode 100644
index 000000000..fe8e453fb
--- /dev/null
+++ b/tests/repl/infixTypeOp.check
@@ -0,0 +1,5 @@
+scala> trait +[A, B]
+defined trait +
+scala> type IntAndString = Int + String
+defined type alias IntAndString
+scala> :quit