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
in the example below, I would expect if true then "foo" else error to have type String | Err, aka Lifted[String], which would make the argument to map String => Lifted[String] which should infer the result of map as Lifted[Lifted[String]] which flattens to Lifted[String]. Instead it appears the closure is inferred as String => Object
The following example type checks in 0.14.0-RC1 but fails in 0.15.0-RC1, should this be the case?
On the inner call to
map
from aflatMap
inbad
,Object
is being inferred as the LUB, despite the correct type being inferred formap
inok
.Tested in both VS Code worksheet mode and sbt project compilation
The text was updated successfully, but these errors were encountered: