aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t712.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t712.check')
-rw-r--r--tests/untried/neg/t712.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t712.check b/tests/untried/neg/t712.check
new file mode 100644
index 000000000..831e94306
--- /dev/null
+++ b/tests/untried/neg/t712.check
@@ -0,0 +1,5 @@
+t712.scala:10: error: value self is not a member of B.this.ParentImpl
+ Note: implicit method coerce is not applicable here because it comes after the application point and it lacks an explicit result type
+ implicit def coerce(p : ParentImpl) = p.self;
+ ^
+one error found