Skip to content

Commit 2117038

Browse files
committed
address language comments
1 parent c46e706 commit 2117038

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/Section 2 -- Language.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,8 @@ size `60`:
12201220
**Variable Use Within Fragments**
12211221

12221222
Variables can be used within fragments. Operation-defined variables have global
1223-
scope with a given operation, so a variable used within a fragment must either
1223+
scope with a given operation. Fragment-defined variables have local scope within the
1224+
fragment definition they are defined in. A variable used within a fragment must either
12241225
be declared in any top-level operation that transitively consumes that fragment,
12251226
or by that same fragment as a fragment variable definition. If a variable
12261227
referenced in a fragment is included by an operation where neither the fragment

0 commit comments

Comments
 (0)