We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5a077 commit 2a8988aCopy full SHA for 2a8988a
Tests/LLVMTests/FileCheck.swift
@@ -680,7 +680,11 @@ private class Pattern {
680
// If this defines any variables, remember their values.
681
for (v, index) in self.variableDefs {
682
assert(index < fullMatch.numberOfRanges, "Internal paren error")
683
+ #if os(macOS)
684
let r = fullMatch.rangeAt(index)
685
+ #else
686
+ let r = fullMatch.range(at: index)
687
+ #endif
688
variableTable[v] = buffer.substring(
689
with: Range<String.Index>(
690
uncheckedBounds: (
0 commit comments