зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
dad7ed1e23
Коммит
3c7ec4776c
|
@ -5,5 +5,5 @@ include protocol IDONTEXIST;
|
|||
// error: nonexistent protocol ^^^
|
||||
|
||||
protocol badProtocolInclude {
|
||||
child: Msg();
|
||||
child: async Msg();
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче