-
### Description
I have an extension macro which adds Codable conformance. The macro expands the code:
```swift
@Foo
public struct Name {
private var value: String
}
```
to:
```swi…
rayx updated
5 months ago
-
I was finally trying out Style-Dictionary 4 and once again stumbled over one particular setting. I have searched thru the existing tickets, but could not find anything in this direction, even though I…
-
(no pun intended)
Hi!
I'm trying to get ZipFoundation to work in SwiftWasm.
Already got zlib [building](https://yonihemi.github.io/swiftwasm-gzip-example/) so we're getting there.
Now, when Sw…
-
**Description**
Using a freestanding declaration macro inside a class produces a build error:
> Expected '{' in body of function declaration
Here is the expanded macro:
```swift
func myFu…
-
I have a project called [cove](https://github.com/bitcoinppl/cove) that is using uniffi, I had it set up as a single crate and the build script calling `cargo run --bin uniffi-bindgen generate --libra…
-
### Description
Running `swift package diagnose-api-breaking-changes` fails to detect API breaking changes.
Working within [this package](https://github.com/awslabs/smithy-swift), no matter what …
epau updated
9 months ago
-
## Expected Behavior
no error
## Actual Behavior
bartycrouch work,but throw a error with “bad entry in file /Users/xxx/Desktop/project_xxx/project_xxx/Macros.swift (line = 11): Argument is not a …
-
| | |
|------------------|-----------------|
|Previous ID | SR-15087 |
|Radar | rdar://problem/82133353 |
|Original Repo…
-
**Motivation**
Currently only C++ "class enums" can be imported into Swift. This is fine for enums that are entirely under the user's control, but in some cases those APIs come from external depend…
jpsim updated
3 months ago
-
### Description
If I'm not mistaken, it should be possible to use [Swift Macros](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/macros/) to generate code for instrum…