You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
20:50~/Projects/210x/sandbox (2.10.x)$ s
Test.scala:9:error: not found: value x$1lazyvalFoo(x, y) = foo
^
Test.scala:9:error: not found: value x$1lazyvalFoo(x, y) = foo
^
two errors found
The text was updated successfully, but these errors were encountered:
@retronym said (edited on May 23, 2013 6:54:11 AM UTC):
After a little more whittling, it turns out to be a name lookup/access problem, unrelated to the pattern matcher.
traitCakeextendsSlicetraitSlice { self: Cake=>// must have self type that extends `Slice`private[this] valbippy= () // must be private[this]
bippy
}
@retronym said (edited on May 23, 2013 7:07:49 AM UTC):
It hinges on the following condition in findMember:
if (excl ==0L&&
(// omit PRIVATE LOCALS unless selector class is contained in class owning the def.
(bcs eq bcs0) ||
(flags & PrivateLocal) !=PrivateLocal||
(bcs0.head.hasTransOwner(bcs.head)))) {
// this = Slice.this.type// bcs = List(trait Cake, trait Slice, class Object, class Any)// bcs0 = List(trait Slice, class Object, class Any)// <Cake>.hasTransOwner(<Slice) == false
The text was updated successfully, but these errors were encountered: