[SR-14652] Compiler slowdown (type checking) with custom operator expressions. #57004
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 12.5
Additional Detail from JIRA
md5: 67e4238e397c5c89246c55aaaf320f38
Issue Description:
There was a great slowdown on type checking custom operator expressions between Xcode 12.3 and 12.4 (or maybe it was between 12.4 and 12.5) but it persists in 12.5 (build 12E262). During all of those releases I had build setting `-warn-long-expression-type-checking=1000` and `-warn-long-function-bodies=3500`. Importantly, on previous releases (at least from 12.3 and earlier) there were no warnings. When upgrading (I'm pretty sure to 12.4) suddenly there a many warnings. Something has changed.
The text was updated successfully, but these errors were encountered: