https://github.com/lampepfl/dotty/issues/48