-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labelsThis issue needs more specific labels
Description
Description
~ swift repl
Welcome to Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5).
Type :help for assistance.
1> #warning("test")
2> let a = "sdad""
error: error while processing module import: error: repl.swift:5:15: error: unterminated string literal
let a = "sdad""
^
#warning
at line #1 is suppressed but the error at line #2 is not.
Reproduction
[Provided in the previous section]
Expected behavior
I expect warnings to be emitted as well.
Environment
Swift 5.9.2, current 5.10 nightly, current main toolchain, none work as expected as of writing this issue.
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labelsThis issue needs more specific labels