summaryrefslogtreecommitdiff
path: root/test/files/neg/depmet_1.check
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-11-24 08:35:38 -0500
committerSeth Tisue <seth@tisue.net>2015-11-24 08:35:38 -0500
commite8f3836578c5153fae3f9ded7c4afec6d6d3a6f8 (patch)
tree4458169015b02ecf7e29f805d0dbd6645171620a /test/files/neg/depmet_1.check
parent3d0cbf9d10416fab8017b5fb46af44f59ee89fd1 (diff)
parent86300fe1b3ab87b2e40616ed78709e8f03e707b5 (diff)
downloadscala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.tar.gz
scala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.tar.bz2
scala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.zip
Merge pull request #4864 from lrytz/merge-2.11-to-2.12-nov-24
Merge 2.11 to 2.12 nov 24
Diffstat (limited to 'test/files/neg/depmet_1.check')
-rw-r--r--test/files/neg/depmet_1.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/depmet_1.check b/test/files/neg/depmet_1.check
index 7a4f845fd5..15498568c5 100644
--- a/test/files/neg/depmet_1.check
+++ b/test/files/neg/depmet_1.check
@@ -1,7 +1,7 @@
-depmet_1.scala:2: error: illegal dependent method type: parameter appears in the type of another parameter in the same section or an earlier one
+depmet_1.scala:2: error: illegal dependent method type: parameter may only be referenced in a subsequent parameter section
def precise0(y: x.type)(x: String): Unit = {}
^
-depmet_1.scala:3: error: illegal dependent method type: parameter appears in the type of another parameter in the same section or an earlier one
+depmet_1.scala:3: error: illegal dependent method type: parameter may only be referenced in a subsequent parameter section
def precise1(x: String, y: x.type): Unit = {}
^
depmet_1.scala:4: error: not found: value y