diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-11 19:39:39 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-11 19:39:39 -0800 |
commit | 98320a6d5947f26e7252b025cf56a0763b39cd07 (patch) | |
tree | 34bb175cd1839ba8187e12562fa31ea5622d8a94 /test/files/neg/t7475f.check | |
parent | e3d624dd2760f2593949a1b5493f5a92fb02138a (diff) | |
parent | 47885ff665a951d2574a7ca5b2ea27c30b67c862 (diff) | |
download | scala-98320a6d5947f26e7252b025cf56a0763b39cd07.tar.gz scala-98320a6d5947f26e7252b025cf56a0763b39cd07.tar.bz2 scala-98320a6d5947f26e7252b025cf56a0763b39cd07.zip |
Merge pull request #3503 from adriaanm/rebase-3440
SI-7475 Private members aren't inheritable, findMember overhaul
Diffstat (limited to 'test/files/neg/t7475f.check')
-rw-r--r-- | test/files/neg/t7475f.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t7475f.check b/test/files/neg/t7475f.check new file mode 100644 index 0000000000..a07a4480e2 --- /dev/null +++ b/test/files/neg/t7475f.check @@ -0,0 +1,10 @@ +t7475f.scala:12: error: method c1 in class C cannot be accessed in C[T] + c1 // a member, but inaccessible. + ^ +t7475f.scala:13: error: not found: value c2 + c2 // a member, but inaccessible. + ^ +t7475f.scala:26: error: value d2 is not a member of D[Any] + other.d2 // not a member + ^ +three errors found |