Workaround bug in -Ydelamndafy:method

See: https://issues.scala-lang.org/browse/SI-8363