broadinstitute / wdl4s

Scala bindings for WDL
3 stars 5 forks source link

Mark A in ErrorOr[A] as covariant #242

Closed curoli closed 7 years ago

curoli commented 7 years ago

Since ErrorOr[A] is a type alias where A is covariant (both params of Validated are covariant): type ErrorOr[A] = Validated[NonEmptyList[String], A] A should be marked covariant in ErrorOr[A] as well.

curoli commented 7 years ago

Oops, wrong project - this in in lenthall, not wdl4s.