Hi everyone,
In bug 1240871 <https://bugzilla.mozilla.org/show_bug.cgi?id=1240871>, we
changed the syntax for IPDL to require an explicit message type annotation.
Previously you could write the following:

    FooMessage(nsString arg);

and it would be an async message by default. That was a bit confusing
because you could also write

    async FooMessage(nsString arg);

to get the same thing. Some files had both forms just because different
people wrote them.

Now you're required to use the second form. Everything in the tree has been
fixed accordingly. If you have patches using the old form, something like
this regular expression might help:

s/(^[ ]*)([A-Z_][a-zA-Z0-9_]*\()/$1async $2/

However, it's probably easier to fix this manually since IPDL changes are
usually pretty small.

-Bill
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to