From d7590fa8eb50a157fbd257eed0a7371a6f37a24e Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Fri, 8 Mar 2024 08:03:06 +0100 Subject: [PATCH] address language comments --- spec/Section 2 -- Language.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/Section 2 -- Language.md b/spec/Section 2 -- Language.md index 874da1906..29ba56281 100644 --- a/spec/Section 2 -- Language.md +++ b/spec/Section 2 -- Language.md @@ -1216,7 +1216,8 @@ size `60`: **Variable Use Within Fragments** Variables can be used within fragments. Operation-defined variables have global -scope with a given operation, so a variable used within a fragment must either +scope with a given operation. Fragment-defined variables have local scope within the +fragment definition they are defined in. A variable used within a fragment must either be declared in any top-level operation that transitively consumes that fragment, or by that same fragment as a fragment variable definition. If a variable referenced in a fragment is included by an operation where neither the fragment