summaryrefslogtreecommitdiff
path: root/src/syntax/ast/expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/ast/expr.rs')
-rw-r--r--src/syntax/ast/expr.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syntax/ast/expr.rs b/src/syntax/ast/expr.rs
index 433dcca2..09729f52 100644
--- a/src/syntax/ast/expr.rs
+++ b/src/syntax/ast/expr.rs
@@ -21,6 +21,9 @@ pub struct ExprCall {
/// The name of the function.
pub name: Spanned<Ident>,
/// The arguments to the function.
+ ///
+ /// In case of a bracketed invocation with a body, the body is _not_
+ /// included in the span for the sake of clearer error messages.
pub args: Spanned<LitDict>,
}