aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1424.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-09-29 17:10:45 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-10 13:25:36 +0200
commitf23ff3abba8663a0e7f64f79b556efd36cc86a83 (patch)
treed025c7362cd14bae1ac54b02d399554e3b91c12c /tests/neg/i1424.scala
parent0781b31fa4e3d22cb6a51882b8d632ea9a16ed6f (diff)
downloaddotty-f23ff3abba8663a0e7f64f79b556efd36cc86a83.tar.gz
dotty-f23ff3abba8663a0e7f64f79b556efd36cc86a83.tar.bz2
dotty-f23ff3abba8663a0e7f64f79b556efd36cc86a83.zip
Improve positions for MemberDefs using `namePos`
Diffstat (limited to 'tests/neg/i1424.scala')
-rw-r--r--tests/neg/i1424.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/i1424.scala b/tests/neg/i1424.scala
index 3586260c1..8eba32842 100644
--- a/tests/neg/i1424.scala
+++ b/tests/neg/i1424.scala
@@ -1,3 +1,3 @@
class Test {
- (x: Int) => x // error: not a legal self type clause // error: package x is not a value // error: package x is not a value
+ (x: Int) => x // error: not a legal self type clause // error: not found x
}