Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
db33503
Update `swift-syntax` version and improve type constraints
qizh Nov 27, 2025
a9b3f01
Bring indentation back in `EnumVariable.swift`
qizh Nov 27, 2025
551c9a1
Update protocol constraint from `SendableMetatype` to `Sendable`
qizh Nov 27, 2025
af382df
Fix enum case encoding for cases without arguments
qizh Nov 27, 2025
44558a5
Align `misuseWithCodable` diagnostics with actual macro output
qizh Nov 27, 2025
6ca0d90
Merge remote-tracking branch 'refs/remotes/upstream/main'
qizh Jan 21, 2026
67ab745
fix: remove unreachable default case warnings for Bool type switches
qizh Jan 21, 2026
37c080c
fix: add SwiftSyntaxMacroExpansion dependency to PluginCore
qizh Jan 21, 2026
ea720d5
chore: add *.dia to gitignore
qizh Jan 21, 2026
0b3f7dc
fix: remove duplicate diagnostic expectations in ConformCodableTests
qizh Jan 21, 2026
6da09a6
Merge pull request #1 from qizh/fix/warnings-cleanup
qizh Jan 21, 2026
4a3190a
Update `CHANGELOG.md`
qizh Jan 30, 2026
a405f1b
Fix: Handle partial `Bool` coverage in `switch` statements
qizh Jan 30, 2026
342f6ff
test: add coverage tests for HelperCoder and related types
qizh Jan 30, 2026
3873f76
Merge branch 'merge/upstream'
qizh Jan 30, 2026
2d44730
test: add @Suite declarations and meaningful test names to all test f…
qizh Jan 30, 2026
edeba0b
test: improve all test names with meaningful, unique descriptions
qizh Jan 30, 2026
c1dd2be
test: add comprehensive tagging system for all tests
qizh Jan 30, 2026
b031947
style: format long @Test declarations as multiline for readability
qizh Jan 30, 2026
aa9002e
docs: fix markdown lint error - add blank line before code block
qizh Jan 30, 2026
bb8f9a5
fix: handle partial Bool coverage in TaggedEnumSwitcherVariable
qizh Jan 30, 2026
e6e5a12
fix: handle partial Bool coverage in TaggedEnumSwitcherVariable
qizh Jan 30, 2026
161b144
fix: remove merge conflict markers from `CodedAsMixedTypesTests.swift`
qizh Jan 30, 2026
6cb6b70
Merge origin/main into tests/improve/coverage/30-01-26
qizh Jan 30, 2026
2344087
Add Swift CI workflow for build and test automation
qizh Jan 30, 2026
fae5691
Disable main.yml workflow in favor of swift.yml
qizh Jan 30, 2026
1f3e57c
Re-enable `main.yml` workflow by removing the `.disabled` extension.
qizh Jan 30, 2026
4e57d33
chore: simplify Swift workflow name to "Swift `build` & `test`"
qizh Jan 30, 2026
3ffa20e
Update `README.md`
qizh Jan 30, 2026
6ca3eea
Fix: Downgrade to Swift 6.1 to avoid compiler crash in macro expansion
qizh Jan 30, 2026
c589543
Fix: Use default Xcode toolchain instead of swift-actions/setup-swift
qizh Jan 30, 2026
4b6fe3d
Merge pull request #2 from qizh/tests/improve/coverage/30-01-26
qizh Jan 30, 2026
201ce15
Refactor test organization with nested suites and improve test descri…
qizh Jan 30, 2026
868dc07
Update `swift-syntax` dependency upper bound to support version `603.x`
qizh Feb 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
.plugin(name: "MetaProtocolCodable", targets: ["MetaProtocolCodable"]),
],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-syntax.git", "509.1.0"..<"602.0.0"),
.package(url: "https://github.com/swiftlang/swift-syntax.git", "509.1.0"..<"603.0.0"),
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.4"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2"),
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0"),
Expand Down
2 changes: 1 addition & 1 deletion Sources/HelperCoders/ValueCoders/Number.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
protocol NumberCodingStrategy: ValueCodingStrategy where Value == Self {}

public extension ValueCodingStrategy
where Value: Decodable & ExpressibleByIntegerLiteral & LosslessStringConvertible
where Value: Decodable & ExpressibleByIntegerLiteral & LosslessStringConvertible & SendableMetatype
Comment thread
qizh marked this conversation as resolved.
Outdated
{
/// Decodes numeric data from the given `decoder`.
///
Expand Down
2 changes: 1 addition & 1 deletion Sources/PluginCore/Variables/Type/EnumVariable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ package struct EnumVariable: TypeVariable, DeclaredVariable {
let callee: ExprSyntax = ".\(name)"
let fExpr =
if !args.isEmpty {
FunctionCallExprSyntax(callee: callee) { args }
FunctionCallExprSyntax(calledExpression: callee) { args }
} else {
FunctionCallExprSyntax(calledExpression: callee) {}
}
Expand Down