You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling a block of code that does not contain any statement in it generates an incorrect "Will never be executed" warning when the "-profile-generate" flag is set.
Example:
iffalse {} // warning: Will never be executed else {
returntrue
}
(Above example does compile without warning if the "-profile-generate" flag is not set)
The text was updated successfully, but these errors were encountered:
Environment
macOS 10.14.5 (18F203)
Xcode 10.2.1 (10E1001)
Swift 5.0
Additional Detail from JIRA
md5: 840a10e1487f521ee390d4d5cbb2e4dc
Issue Description:
Compiling a block of code that does not contain any statement in it generates an incorrect "Will never be executed" warning when the "-profile-generate" flag is set.
Example:
(Above example does compile without warning if the "-profile-generate" flag is not set)
The text was updated successfully, but these errors were encountered: