-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:extension-methodsarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:language enhancement
Description
Compiler version
3.3.4
3.6.3
Minimized code
import Playground.Extensions.testExt
object Extensions {
extension (s: String) {
private def testExt() = {
}
}
}
"abc".testExt()
Output
value testExt is not a member of String, but could be made available as an extension method.
The following import might fix the problem:
import Playground.Extensions.testExt
Expectation
Something about testExt having too restricted visibility. At least not suggesting import when it already exists.
Metadata
Metadata
Assignees
Labels
area:extension-methodsarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:language enhancement