Skip to content

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jan 8, 2019

(Cherry-pick of #21674 to swift-5.0-branch-12-12-2018)

Parsing collection literal expression used to take exponential time depending on the nesting level of the first element.

Stop using parseList() because using it complicates libSyntax parsing.

rdar://problem/45221238 / https://bugs.swift.org/browse/SR-9220
rdar://problem/38913395 / https://bugs.swift.org/browse/SR-7283

Parsing collection literal expression used to take exponential time
depending on the nesting level of the first element.

Stop using 'parseList()' because using it complicates libSyntax parsing.

rdar://problem/45221238 / https://bugs.swift.org/browse/SR-9220
rdar://problem/38913395 / https://bugs.swift.org/browse/SR-7283
(cherry picked from commit 7f57ad9)
@rintaro rintaro requested a review from a team January 8, 2019 02:14
@akyrtzi akyrtzi merged commit 4db83a1 into swiftlang:swift-5.0-branch-12-12-2018 Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants