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
This is a similar issue to what I discussed with @EugeneFlesselle recently (but I haven't filed a discussion for it yet).
In the following code snippet, the { type X = String } part is considered the implementation of the given, not the refinement.
traitBar:typeSelftypeXgivenw:Int is Bar { typeX=String }
But this is probably impossible to disambiguate when parsing in this example.
Regression found during work on fix for other parser regression in #21957
Compiler version
Last good release: 3.5.0-RC1-bin-20240506-1cdf99f-NIGHTLY
First bad release: 3.5.0-RC1-bin-20240508-b10d64e-NIGHTLY
Bisect points it could have been introduced by either ea3c688 or 5189e68
Minimized code
Output
Expectation
Should compile
The text was updated successfully, but these errors were encountered: