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
Based on compilation failure found in OpenCB for sbt/sbt for version 2.0.0-M2
Compiler version
Introduced in 3.4.0
Backported to 3.3.4
Last good release: 3.4.0-RC1-bin-20231020-89a8fce-NIGHTLY
First bad release: 3.4.0-RC1-bin-20231023-44a537b-NIGHTLY
Bisect points to 2be1b41 however these changes were not backported to LTS.
Bisect on LTS commits only failed to build compiler, but issue could have been introduced in any of: c1dfcef f87a634
-- [E029] PatternMatchExhaustivityWarning:/Users/wmazur/projects/sandbox/test.scala:26:10--------------------------------------------------------------------------------------------------------------26| fa match|^^|match may not be exhaustive.
||It would fail on pattern case:_: (Init[<?>] & (EvaluateSettings#init : Init[EvaluateSettings#ScopeType]))#TransformCapture|| longer explanation available when compiling with`-explain`-- [E030] MatchcaseUnreachableWarning:/Users/wmazur/projects/sandbox/test.scala:30:17------------------------------------------------------------------------------------------------------------------30|casev: ValidationCapture[a] =>???// warn|^^^^^^^^^^^^^^^^^^^^^^^|Unreachablecase-- [E030] MatchcaseUnreachableWarning:/Users/wmazur/projects/sandbox/test.scala:31:17------------------------------------------------------------------------------------------------------------------31|caset: TransformCapture=>???// warn|^^^^^^^^^^^^^^^^^^^|Unreachablecase-- [E030] MatchcaseUnreachableWarning:/Users/wmazur/projects/sandbox/test.scala:32:17------------------------------------------------------------------------------------------------------------------32|caseo: Optional[s, A] =>???// warn|^^^^^^^^^^^^^^^^^|Unreachablecase-- [E030] MatchcaseUnreachableWarning:/Users/wmazur/projects/sandbox/test.scala:33:17------------------------------------------------------------------------------------------------------------------33|caseStaticScopes=>???// warn|^^^^^^^^^^^^|UnreachablecaseNo warnings can be incurred under -Werror (or -Xfatal-warnings)
Expectation
Should not warn about unreachable cases or being non-exhaustive
The text was updated successfully, but these errors were encountered:
Based on compilation failure found in OpenCB for
sbt/sbt
for version 2.0.0-M2Compiler version
Introduced in 3.4.0
Backported to 3.3.4
Last good release: 3.4.0-RC1-bin-20231020-89a8fce-NIGHTLY
First bad release: 3.4.0-RC1-bin-20231023-44a537b-NIGHTLY
Bisect points to 2be1b41 however these changes were not backported to LTS.
Bisect on LTS commits only failed to build compiler, but issue could have been introduced in any of: c1dfcef
f87a634
Minimized code
Output
Expectation
Should not warn about unreachable cases or being non-exhaustive
The text was updated successfully, but these errors were encountered: