File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ extension _ConditionMacro {
8080 do {
8181 if let trailingClosureIndex {
8282
83- // Include all arguments other than the "comment" argument here.
83+ // Include all arguments other than the "comment" and "sourceLocation"
84+ // arguments here.
8485 checkArguments += macroArguments. indices. lazy
8586 . filter { $0 != commentIndex }
8687 . filter { $0 != sourceLocationArgumentIndex }
@@ -99,8 +100,8 @@ extension _ConditionMacro {
99100 let conditionArgument = parseCondition ( from: macroArguments. first!. expression, for: macro, in: context)
100101 checkArguments += conditionArgument. arguments
101102
102- // Include all arguments other than the "condition" and "comment"
103- // arguments here.
103+ // Include all arguments other than the "condition", "comment", and
104+ // "sourceLocation" arguments here.
104105 checkArguments += macroArguments. dropFirst ( ) . indices. lazy
105106 . filter { $0 != commentIndex }
106107 . filter { $0 != sourceLocationArgumentIndex }
You can’t perform that action at this time.
0 commit comments