Open
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