summaryrefslogtreecommitdiff
path: root/test/files/pos/t6797.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-08-20 08:44:03 -0700
committerPaul Phillips <paulp@improving.org>2013-08-20 08:44:03 -0700
commit01f771e687291803da1983bdac97d9288c069bfe (patch)
tree5c0e664803a9682bb25c6b48658d0660d9727a02 /test/files/pos/t6797.scala
parent6d4e71c111226591a4eeb5b77efac689ef1dd79a (diff)
parent1df7b32a15bac0c57d4371b6e081f06d9e145aaf (diff)
downloadscala-01f771e687291803da1983bdac97d9288c069bfe.tar.gz
scala-01f771e687291803da1983bdac97d9288c069bfe.tar.bz2
scala-01f771e687291803da1983bdac97d9288c069bfe.zip
Merge branch 'master' into patmat
Conflicts: src/compiler/scala/tools/nsc/Global.scala src/compiler/scala/tools/nsc/transform/patmat/MatchTranslation.scala
Diffstat (limited to 'test/files/pos/t6797.scala')
-rw-r--r--test/files/pos/t6797.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t6797.scala b/test/files/pos/t6797.scala
new file mode 100644
index 0000000000..ef1afa1eb3
--- /dev/null
+++ b/test/files/pos/t6797.scala
@@ -0,0 +1,4 @@
+object Test extends App /* workaround: don't extend App */ {
+ private class Matcher(aParam: Option[String] = None)
+ private val stringMatcher = new Matcher
+}