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
As stated in the previous ticket, vals and vars available through an import are returned by the scope completion, but they are filtered out by Scala IDE, and not displayed to the user.
The reason the IDE filters them is because they are always marked as non-accessible.
If they can be accessed through the synthetic getters, they should not be mark non-accessible, as referencing them at the location of the completion is valid in code.
Test case:
objectCont {
valsomeVal=2privatevalsomePrivateVal=3deflongName() {}
}
classImportOut {
importCont._deffoo {
/*_*/// `longName`, `someVal` and `somePrivateVal` are in the scope members,// but `someVal` is marked as inaccessible.
}
}
The text was updated successfully, but these errors were encountered:
This is a follow up to #7280.
As stated in the previous ticket, vals and vars available through an import are returned by the scope completion, but they are filtered out by Scala IDE, and not displayed to the user.
The reason the IDE filters them is because they are always marked as non-accessible.
If they can be accessed through the synthetic getters, they should not be mark non-accessible, as referencing them at the location of the completion is valid in code.
Test case:
The text was updated successfully, but these errors were encountered: