Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix SI-5708. (manually) Cherry-picked from 9d1bc68

  • Loading branch information...
commit 39d8e5a78e1c858362e34204d212d4fee194b288 1 parent 6891caa
@dragos dragos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/compiler/scala/tools/nsc/interactive/Global.scala
View
2  src/compiler/scala/tools/nsc/interactive/Global.scala
@@ -924,7 +924,7 @@ class Global(settings: Settings, reporter: Reporter, projectName: String = "")
val implicitlyAdded = viaView != NoSymbol
members.add(sym, pre, implicitlyAdded) { (s, st) =>
new TypeMember(s, st,
- context.isAccessible(s, pre, superAccess && !implicitlyAdded),
+ context.isAccessible(if (s.hasGetter) s.getter(s.owner) else s, pre, superAccess && !implicitlyAdded),
inherited,
viaView)
}
Please sign in to comment.
Something went wrong with that request. Please try again.