On Apr 4, 11 00:49, Adam D. Ruppe wrote:
Ulrik Mikaelsson wrote:
If you're looking for uncommonly used language-features that could
easily be otherwise solved, go ahead and remove asm instead. I'll
guess it's about as uncommon as octal literals (or maybe even more),
have simple other solution (just compile it separately and link),
and has much greater impact on the language and the compiler.

Actually, inline asm can't be replaced. If you link it separately,
it won't be inlined...

Talking of asm, would the following be expected to work?

-------
import std.conv;
void main() {
    asm {
        di octal!777;
        mov EAX, octal!777;
    }
}
-------

Reply via email to