leo/tests/parser/functions/annotated_arg_not_ident_int.leo

15 lines
152 B
Plaintext
Raw Normal View History

2022-01-28 21:34:02 +03:00
/*
namespace: Parse
expectation: Fail
*/
@foo(?, bar, ?)
function x() {
return ();
}
@context // recovery witness
function x() {
return ();
}