mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Hit this crash while walking an `import protocol ...` declaration. Check loc validity before calling `SourceManager::extractText`: there is an assertion at the beginning of this function. rdar://65258208
4 lines
35 B
Swift
4 lines
35 B
Swift
public protocol P {
|
|
func foo()
|
|
}
|