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 code (look like) to never end.
It finish normally if we use the last line (i.e. "case ? :: ? => ...") inside the previous one (i.e. "case ? => ...")
objectABug:sealedtraitBitsealedtraitB0extendsBitsealedtraitB1extendsBitsealedtraitBinsealedtraitNilextendsBinsealedtrait::[U<:Bit, D<:Bin] extendsBintypeZero=B0::NiltypeOne=B1::Niltype--[B<:Bin] =BmatchcaseB1:: d =>B0:: d
caseB0::B1::Nil=>B1::NilcaseB0:: d =>B1::--[d]
type×[N<:Bin, M<:Bin] =
(N, M) matchcase (Zero, ?) =>Zerotype![N<:Bin] =NmatchcaseZero=>OnecaseOne=>Onecase?=>![--[N]] × (N)
// case ? :: ? => ![--[N]] × (N)
Output
No output at all !!!
Expectation
Terminate in a reasonable time, eventually with an error.
The text was updated successfully, but these errors were encountered:
Minimized code
This code (look like) to never end.
It finish normally if we use the last line (i.e. "case ? :: ? => ...") inside the previous one (i.e. "case ? => ...")
Output
No output at all !!!
Expectation
Terminate in a reasonable time, eventually with an error.
The text was updated successfully, but these errors were encountered: