File tree 1 file changed +2
-2
lines changed
Sources/LeafKit/LeafSyntax
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ extension Syntax {
555
555
k == . in,
556
556
case . parameter( let right) = list [ 2 ] ,
557
557
case . variable( let array) = right
558
- else { throw " for loops expect one of the following expressions: 'name in names' or 'name, nameIndex in names' " }
558
+ else { throw " for loops expect one of the following expressions: 'name in names' or 'nameIndex, name in names' " }
559
559
self . item = item
560
560
self . array = array
561
561
self . index = " index "
@@ -572,7 +572,7 @@ extension Syntax {
572
572
k == . in,
573
573
case . parameter( let right) = list [ 2 ] ,
574
574
case . variable( let array) = right
575
- else { throw " for loops expect one of the following expressions: 'name in names' or 'name, nameIndex in names' " }
575
+ else { throw " for loops expect one of the following expressions: 'name in names' or 'nameIndex, name in names' " }
576
576
self . item = item
577
577
self . array = array
578
578
self . index = index
You can’t perform that action at this time.
0 commit comments