diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-05-07 13:48:20 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-05-07 13:48:20 +0200 |
commit | e735cb3c402c01149c170ea1e6906a7455e15a0b (patch) | |
tree | 7186be7ac117d1f6303ebde71a4ed14142057515 /test/files/pos/t8325.scala | |
parent | 251616a107f4255203e318c9f6342f774d25e66d (diff) | |
parent | b0fe13505faf7c93093b4e9dc2813259e2f70094 (diff) | |
download | scala-e735cb3c402c01149c170ea1e6906a7455e15a0b.tar.gz scala-e735cb3c402c01149c170ea1e6906a7455e15a0b.tar.bz2 scala-e735cb3c402c01149c170ea1e6906a7455e15a0b.zip |
Merge pull request #3576 from som-snytt/issue/8325
SI-8325 Accept infix star type outside patterns
Diffstat (limited to 'test/files/pos/t8325.scala')
-rw-r--r-- | test/files/pos/t8325.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/t8325.scala b/test/files/pos/t8325.scala new file mode 100644 index 0000000000..af33ee7bb3 --- /dev/null +++ b/test/files/pos/t8325.scala @@ -0,0 +1,9 @@ + +trait Test { + type +[A, B] = (A, B) + type *[A, B] = (A, B) + + type X[A, B] = A + B + type Y[A, B] = A * B + type Z[A, B] = A `*` B +} |