Code using cyclic types dependency fails to compile when using protected val
in trait constructor
#17021
Labels
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Regression found in Open CB for 47degrees/github4s : build logs
Compiler version
3.3.1-RC1-bin-20230224-c1809bc-NIGHTLY
Last good release: 3.3.1-RC1-bin-20230218-7c9c72a-NIGHTLY
First bad release: 3.3.1-RC1-bin-20230220-e65f6a6-NIGHTLY
Bisect points to b509104 but this commit seems to introduce other regression (different errors), which probably has been fixed.
Overall bisect points to a range commits 7c9c72a..e65f6a6
Minimized code
It compiles when
ioRuntime
is either public or defined asdef
Output
Expectation
Probably should compile, but should be confirmed if 9a9834e works as expected. If so this issue can be used as a example of source compatibility breakage in 3.3.1 or 3.4.x
The text was updated successfully, but these errors were encountered: