https://issues.dlang.org/show_bug.cgi?id=13589
--- Comment #9 from yebblies <[email protected]> --- (In reply to Kenji Hara from comment #8) > > OK, I change the behavior in the case. > > void fsafe() @safe pure { > asm {...} // f3 has @safe attribute, so this asm will report an error > asm @trusted {...} // OK > } > > void ftrusted() @trusted { > asm {...} > // f3 has explicit @trusted attribute, so asm is inferred as @trusted > } That's certainly better, but overall I still don't think this is worthwhile. --
