Swift style compilation condition functions fail to parse after condition operators

(Dante Broggi) #1

IDE: Visual Studio X/Fire
Version: (develop)
Target (If relevant): OSX
Swift style os(…) or arch(…) conditions after || or && operators fail to parse in #if conditions.

Expected Behavior:
Correct compilation based on target discrimination.
Actual Behavior:
(A) “E: End of expression expected but “os” found [<file>(<line>)]”
(B) “E: End of expression expected but “arch” found [<file>(<line>)]”

// Testing:
#if arch(x86_64) && os(iOS) // A
#if os(macOS) || arch(i386) // B
(RemObjects) #2

Thanks, logged as bugs://82598

(RemObjects) #3

bugs://82598 got closed with status fixed.