summaryrefslogtreecommitdiff
path: root/src/syntax/ast/expr.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-04 23:31:35 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-04 23:31:35 +0200
commit335fa2d118718b4dba539294a8ef6c96c5bbf09e (patch)
tree08e48d0c18c350bc9479d0d801d2320628d8e4a2 /src/syntax/ast/expr.rs
parent605ab104c5e041c345007020d277b4c6267debe6 (diff)
Small improvements 🍪
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>,
}