Oh wait, lazyMessage has type () -> Any so the ...
# language-proposals
t
Oh wait, lazyMessage has type () -> Any so the overload is not possible. At least not in my code. I get a platform declaration clash since () -> Exception and () -> Any would have the same JVM signature. I don't know if the compiler could work around something like this