[SR-305] Simple, legit literal takes exponentially growing compile time. #42927
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
type checker
Area → compiler: Semantic analysis
Attachment: Download
Additional Detail from JIRA
md5: 671f0ac06627b6519c1b4f035d41c57c
Issue Description:
Run swiftc -dump-ast on this file, the compilation will never finish. Removing values gradually from the array and you'll notice that the shorter the expression, the less time it takes.
long.swift
The text was updated successfully, but these errors were encountered: