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 the OpenCB failure in stg-tud/bismuth - build logs
Compiler version
Last good release: 3.8.0-RC1-bin-20250817-8c3f1a6-NIGHTLY
First bad release: 3.8.0-RC1-bin-20250818-aaa39c5-NIGHTLY
Bisect points to aaa39c5 (seems unrelated)
Minimized code
//>usingoptions-Yexplicit-nullstraitKey[T]
traitBucket[T]:defkey:Key[T]
defTest=valbucket:Option[Bucket[String]] =???valkey= bucket.fold[Key[String] |Null](null)(_.key)
if (key ne null) then
println("not null")
Output
[error] ./test.scala:10:7
[error] expression does not take parameters
[error] if (key ne null) then
[error] ^^^^^^^^^^^
Expectation
Should either compile or the error message should suggest using == / != operators