Bug 1760244 - Make badProtocolInclude syntactically valid. r=nika

The Python IPDL frontend checks for includes before checking if the
entire file is syntactically valid. However, my Rust IPDL front end
does it later, so it ends up failing in a syntax error before
noticing the invalid include. I think the basic issue is that this
file wasn't updated when async was made mandatory, because it didn't
affect the results. Let's just fix the file so it only tests one
thing.

Differential Revision: https://phabricator.services.mozilla.com/D141445
This commit is contained in:
Andrew McCreight 2022-03-18 17:09:33 +00:00
Родитель dad7ed1e23
Коммит 3c7ec4776c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5,5 +5,5 @@ include protocol IDONTEXIST;
// error: nonexistent protocol ^^^
protocol badProtocolInclude {
child: Msg();
child: async Msg();
};