Protected in allowed in companion objects but forbidden in other objects, relevant test fixes

This commit is contained in:
Mikhail Glukhikh
2015-11-20 15:34:56 +03:00
parent fdc7c75f5b
commit f81a5c06ea
9 changed files with 19 additions and 17 deletions
@@ -1,3 +1,4 @@
// ERROR: Modifier 'protected' is not applicable inside 'object'
internal object Outer {
private class Nested1() {