-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure in construction of path for outer accessor #15666
Comments
A bit simpler minimization: trait GetInt {
def value: Int // if we add inline here, the program compiles
}
class Newtype {
def f: Int = ???
val g = new GetInt {
inline def value: Int = f // has to be inline to crash
}
} |
Can we get the commit that failed? There were two PRs that could have touched this. |
Te first commit is 323dbce |
In fact I wonder how this compiled at all before 323dbce. It seems that every call of the inline method would have caused an error then. Ah, wait: It could be that only the implemented abstract method was a visible call target. But the the |
Community build regression for https://github.com/disneystreaming/smithy4s (maintainer @Baccata)
Based on Open Community Build #2474
Part of #15647 regressions tracker
Compiler version
Works with 3.1.3
Fails with 3.2.0-RC1
Fails with 3.2.1-RC1-bin-20220711-6efd92d-NIGHTLY
Minimized code
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: