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
I think this issue is similar to #13976: the imported language feature is not avaiable after typer (there is no error if we enable the unsafeNulls globally using -language:unsafeNulls).
When we transform FileSystems.getDefault().getSeparator in PostTyper, the type of FileSystems.getDefault() is nullable. We will get wrong type at .getSeparator because unsafeNulls is not visible at this phase.
We can always add a special attachment to the tree in typer if needed. I'm wondering if there is a better and general solution.
Compiler version
3.1.0
Minimized code
Output
Expectation
extractAPI maybe ignores this?
The text was updated successfully, but these errors were encountered: