Skip to content
Browse files

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

  • Loading branch information...
1 parent 6891caa commit 39d8e5a78e1c858362e34204d212d4fee194b288 @dragos dragos committed May 30, 2012
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)
}

0 comments on commit 39d8e5a

Please sign in to comment.
Something went wrong with that request. Please try again.