Stream: project-inline-asm

Topic: Errors that detect old `asm!` in the parser?

Josh Triplett (Jan 21 2020 at 17:47, on Zulip):

Could we, in the parser for the new asm!, detect an invocation that includes a : immediately after the string, and give an error message that guides people to llvm_asm! (and to converting to the new asm!)?

Josh Triplett (Jan 21 2020 at 17:48, on Zulip):

The parser should have no trouble noticing the :, and that would make for much more friendly and helpful error messages.

Amanieu (Jan 21 2020 at 20:51, on Zulip):

Sure! I think that should be pretty easy to do.

Josh Triplett (Jan 22 2020 at 18:12, on Zulip):

Thanks! I think that would really help in the transition, and I appreciate you being receptive to it.

Amanieu (Jan 22 2020 at 18:15, on Zulip):

In fact I'm writing the parser right now.

Last update: Jun 07 2020 at 10:20UTC