summaryrefslogtreecommitdiff
path: root/test/files/neg/depmet_1.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-01-24 13:03:22 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2016-01-24 13:03:22 +0100
commitb0831e774e290148ce28cb7957794542dffe0366 (patch)
tree1380b224b4fe31598b07b3ddee9a46ff2e3eaf10 /test/files/neg/depmet_1.check
parent1a9e649e34cda4306537d74ab425c33d5f6a77db (diff)
parent1081e718f8f8e174dbf615e42b157e187d3d3886 (diff)
downloadscala-b0831e774e290148ce28cb7957794542dffe0366.tar.gz
scala-b0831e774e290148ce28cb7957794542dffe0366.tar.bz2
scala-b0831e774e290148ce28cb7957794542dffe0366.zip
Merge remote-tracking branch 'upstream/2.12.x' into opt/elimBoxes
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