https://issues.dlang.org/show_bug.cgi?id=20086

--- Comment #2 from mhh <[email protected]> ---
(In reply to Mike Franklin from comment #1)
> > auto bad = demo(); //This should not compile
> 
> I don't see any reason that should not compile.

Shouldn't as in doesn't at the moment.

More philosophically, I was assuming -betterC code can't call non -betterC code
e.g. It uses druntime, although I suppose in the sense that that particular
exception doesn't escape the function I don't know. The spec doesn't say
whether -betterC code can call code using non -betterC features.

--

Reply via email to