Open bishabosha opened 1 year ago
@soronpo I assigned you since you fixed the report for summonInline with https://github.com/lampepfl/dotty/pull/12428
I'll try to look at it. Things are kind of hectic here in Israel now, and I could use the distraction.
inline def summonMissing = compiletime.summonFrom {
case m: Missing => m
case _ => compiletime.error("there is no Missing!")
}
Compiler version
3.3.1
Minimized code
Output
Expectation
Like with summonInline we should show the custom error message: