swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.32k stars 10.34k forks source link

[SR-9890] Swift shouldn't warn about slow typechecking in functions that fail to typecheck without timing out. #52296

Open dabrahams opened 5 years ago

dabrahams commented 5 years ago
Previous ID SR-9890
Radar None
Original Reporter @dabrahams
Type Improvement
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Improvement | |Assignee | None | |Priority | Medium | md5: 9491af4c8216f39e3e6b19866ea30431

Issue Description:

These are typically cases that will typecheck quickly once the developer corrects the actual programming error, so the warning is just reporting something that only the Swift team can fix.

belkadan commented 5 years ago

You're using an internal debugging option, not a supported feature of the compiler. We want to know why things are slow even when they fail to typecheck.