Axel Andersson
Axel Andersson
``` $ sw_vers ProductName: macOS ProductVersion: 14.0 BuildVersion: 23A344 $ swift -v Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1) ``` Checked out `main`: ``` commit 5dbf2fadd2ae30d4a90a1df0b8a02083727ba36a (HEAD -> main, origin/main, origin/HEAD)...
Hello! I'm using `PredicateExpressions` to build dynamically build predicates. I'm getting an exception when creating a `PredicateExpressions.KeyPath` with a keypath like `\Dummy.optionalSub?.optionalString` where both `optionalSub` and `optionalString` are optional values....
Hi, The predicate expressions `StringLocalizedStandardContains` and `StringLocalizedCompare` are under `#if FOUNDATION_FRAMEWORK`. I would like to use these on Linux as well.
Given the following predicate: ``` struct Dummy { let stringValue: String } let predicate = #Predicate { $0.stringValue.caseInsensitiveCompare("a") == .orderedSame } ``` Compiler complains that: `Member access without an explicit...
PredicateExpressions.Equal requires Equatable conformance for comparing an optional value with "nil"
Hello! This case is broken out from the discussion in https://github.com/apple/swift-foundation/issues/476#issuecomment-2200614509. Creating a predicate like: ``` struct Foo { struct Bar { let value = 0 } let bar: Bar?...