To implement
https://github.com/ceylon/ceylon-compiler/commit/f04a1cdb7d26a23acbc10e1e42b9450d9f8a6a03#commitcomment-4906308