-
We've already seen some fantastic ideas by folks in the Swift community coming up with their own Swift macros. It would be neat to post a blog post that showcases macros folks have come up with and t…
-
**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…
-
When `swift_test` depends on the universal plugin, build fails with the following error:
```
examples/xplatform/macros/StringifyMacroTests.swift:18:8: error: missing required module 'SwiftCompiler…
-
### Description
I've been trying experiments with macro then found interesting behavior.
```swift
import Foundation
print(try [0, 1, 2].filter(#Predicate { $0 == 0 }))
print(try [0, 1, 2].fil…
mtfum updated
1 month ago
-
When a declaration macro `contantIntValue` declares `let intValue = 0`, the following fails to compile
```swift
func demo() {
#constantIntValue
intValue // error: Cannot find 'intValue' …
-
Before starting refer to [CREATE-NEW-SCALER.md](https://github.com/sidilabs/keda/blob/autosync/CREATE-NEW-SCALER.md) to learn how to create a new scaler in Keda.
On Openstack SWIFT is similar to AW…
-
### Description
A Declaration Macro introducing a variable-declaration with a PropertyWrapper-attribute crashes if placed in a struct which isn't in a the scope of a function.
### Reproduction
[Mac…
-
Thank to the author for making this project!
Logging is the perfect usecase for Swift Macro, and this project is the only one I can find by now.
we can make StaticLogger comparable to iOS 13 b…
-
A very recent feature added to the library are functions which are passed to the chat request as an array of `ChatFunctionDeclaration`. The problem is that it's very tedious to write those and then co…
-
If you go to Machine -> Save, vAmiga crashes.
I seems to crash here: https://github.com/dirkwhoffmann/vAmiga/blob/2b8e4c1899fed0c6a4c47c080daf2e9a8f3f3da1/Emulator/Base/CoreComponent.cpp#L144
The …