mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Remove quotes around visibility in invisible member diagnostic
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// ACTION: Make 'Nested' public
|
||||
// ACTION: Remove parameter 'arg'
|
||||
// ERROR: 'internal' function exposes its 'private' parameter type argument Nested
|
||||
// ERROR: Cannot access 'Nested': it is 'private' in 'Outer'
|
||||
// ERROR: Cannot access 'Nested': it is private in 'Outer'
|
||||
|
||||
class Outer {
|
||||
private class Nested
|
||||
@@ -12,4 +12,4 @@ class Outer {
|
||||
|
||||
class Generic<T>
|
||||
|
||||
internal fun foo(<caret>arg: Generic<Outer.Nested>) {}
|
||||
internal fun foo(<caret>arg: Generic<Outer.Nested>) {}
|
||||
|
||||
Reference in New Issue
Block a user