mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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()
|
|
}
|