workaround for https://issues.scala-lang.org/browse/SI-8363
thanks to @retronym