-
Notifications
You must be signed in to change notification settings - Fork 465
Open
Labels
SwiftParserBugs in the (new) Parser written in SwiftBugs in the (new) Parser written in SwiftbugSomething isn't workingSomething isn't working
Description
Issue Kind
Bug
Source Code
await withDiscardingTaskGroup { taskGroup in
for content in fileContents {
taskGroup.addTask {
// EXC_BAD_ACCESS here, requires `await MainActor.run`
// Maybe this isn't meant to be used concurrently, but having to run on `MainActor` is a huge bottleneck.
Parser.parse(source: content)
}
}
}Description
Running into this EXC_BAD_ACCESS when running concurrent Parser.parse.
Crash is in SwiftParser/Lexer/Cursor.swift, line 648 (602.0.0) when attempting to input.popFirst() inside of Lexer.Cursor.Position.advance
Metadata
Metadata
Assignees
Labels
SwiftParserBugs in the (new) Parser written in SwiftBugs in the (new) Parser written in SwiftbugSomething isn't workingSomething isn't working