Files
swift-mirror/lib/SILGen/SILGenAvailability.cpp
Allan Shortlidge fbe686d37d SILGen: Fix an assert when emitting SIL for if #available.
Empty version numbers if availability specs are accepted by Sema prior to Swift
6, and when they occur in `if #available` queries they can make the query AST
node invalid without aborting compilation. Adjust an assertion in SILGen to
compensate.
2025-07-14 11:07:40 -07:00

15 KiB