ITADN

Contradicting `#if swift` diagnostics

#3254ClosedAnthonyLatsis 创建于 2026-01-27
good first issue
A
AnthonyLatsiscommented
### Description _No response_ ### Steps to Reproduce ```swift #if swift(5.10) #endif #if swift(<=5.10) #endif ``` ``` 172 | #if swift(5.10) | `- error: 'swift' requires a single unlabeled argument for the version comparison (>= or <= a version) [bridged_error] 173 | #endif 174 | #if swift(<=5.10) | `- error: 'swift' version check does not support operator '<=' [bridged_error] 175 | #endif ```
关闭于 2026-02-01 0 条评论