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
10| assert("abc".len ==4)
|^^^^^^^^^|value len is not a member of String, but could be made available asan extension method.
||The following importmightfixtheproblem:||importB.len|
Expectation
Just say that "value len is not a member of String".
The member issue is due to len in B overriding an extension method but not having the extension flag, but this error is not reported until later
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Minimized code
Sometimes, there can be an error in applying an extension method, but the import suggestions can suggest something already in scope:
Output
Expectation
Just say that "value len is not a member of String".
The member issue is due to len in
B
overriding an extension method but not having the extension flag, but this error is not reported until laterThe text was updated successfully, but these errors were encountered: