diff options
Diffstat (limited to 'src/syntax/test.rs')
| -rw-r--r-- | src/syntax/test.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax/test.rs b/src/syntax/test.rs index b701e577..504bc334 100644 --- a/src/syntax/test.rs +++ b/src/syntax/test.rs @@ -1,5 +1,6 @@ use std::fmt::Debug; +use crate::func::parse_maybe_body; use super::decoration::Decoration; use super::expr::{Expr, Ident, Tuple, NamedTuple, Object, Pair}; use super::parsing::{FuncHeader, FuncArgs, FuncArg}; @@ -71,7 +72,7 @@ function! { header.args.key.0.clear(); DebugFn { header: cloned, - body: body!(opt: body, state, f), + body: parse_maybe_body(body, state, f), } } |
