-
Neat project! I think it's possible to look up the `containingClassName`, either now or soon: https://forums.swift.org/t/macros-accessing-the-parent-context-of-a-syntax-node-passed-to-a-macro/64443/26…
-
| | |
|------------------|-----------------|
|Previous ID | SR-9969 |
|Radar | None |
|Original Reporter | stamba (JIRA …
-
| | |
|------------------|-----------------|
|Previous ID | SR-15232 |
|Radar | rdar://83420693 |
|Original Reporter | @…
-
### Describe
- UIKit을 codebase로 개발시 레이아웃이 한눈에 보이지 않는 문제 해결을 위해 Preview 코드 추가하기로 논의 완료
- Preview를 위한 공통 코드 및 컨벤션 개발 필요
![image](https://github.com/YAPP-Github/24th-App-Team-3-iOS/assets/43776784…
-
Xcode 10 and Swift 4.2 no longer recognize the `TARGET_OS_IPHONE` macro, which was deprecated in Swift 3 and removed in 4.2. The side effect of this is that Xcode is now executing code that was not me…
-
### What happened?
xcodebuild -workspace App.xcworkspace \
-scheme App-DEVELOPMENT\
-sdk iphoneos \
-skipMacroValidation \
-archivePath $PWD/build/App.xcarchive \
-destination 'generic…
-
### What happened?
I've been trying to create a library that implements Swift macros and unit tests them. For the sake of simplicity, the attached project library has just 2 targets:
- `MacrosCore` …
ak-bs updated
2 months ago
-
### Description
In https://github.com/apple/swift-syntax/pull/2450 we introduced
```
@freestanding(expression)
public macro checkGeneric_root() = #externalMacro(module: "MacroDefinition", typ…
ktoso updated
3 months ago
-
### Motivation
The Swift source in `SwiftCompilerSources/` has long supported cross-compilation, added by @eeckstein in #40068 for Darwin a couple years ago and then in #40277 for non-Darwin Unix b…
-
### Description
After create a macro that adds the same name, the same type, and the same initialization value, an unknown compilation error occurs.
Because it is macro, declaring and implementi…