Skip to content

feat: sync demangler with Swift 6.2.3#10

Merged
oozoofrog merged 4 commits into
mainfrom
swift-6.2.3
Feb 11, 2026
Merged

feat: sync demangler with Swift 6.2.3#10
oozoofrog merged 4 commits into
mainfrom
swift-6.2.3

Conversation

@oozoofrog
Copy link
Copy Markdown
Owner

Summary

  • Add 11 new Node.Kind cases and rename CompileTimeConstCompileTimeLiteral to match upstream swift-6.2.3-RELEASE
  • New kinds: ConstValue, CoroFunctionPointer, DefaultOverride, DependentProtocolConformanceOpaque, ImplParameterIsolated, ImplParameterImplicitLeading, KeyPathUnappliedMethodThunkHelper, KeyPathAppliedMethodThunkHelper, NonIsolatedCallerFunctionType, OutlinedInitializeWithTakeNoValueWitness, SugaredInlineArray
  • Add Embedded Swift mangling prefix support ($e, _$e) and Builtin.ImplicitActor builtin type
  • Add 6 new test cases covering the new node kinds

Test plan

  • swift build compiles without errors
  • swift test — all 38 tests pass (including 6 new test cases)
  • swift test --filter testManglings — new manglings verified

🤖 Generated with Claude Code

Add 11 new Node.Kind cases and rename CompileTimeConst to CompileTimeLiteral
to match upstream swift-6.2.3-RELEASE.

New node kinds: ConstValue, CoroFunctionPointer, DefaultOverride,
DependentProtocolConformanceOpaque, ImplParameterIsolated,
ImplParameterImplicitLeading, KeyPathUnappliedMethodThunkHelper,
KeyPathAppliedMethodThunkHelper, NonIsolatedCallerFunctionType,
OutlinedInitializeWithTakeNoValueWitness, SugaredInlineArray.

Also adds Embedded Swift mangling prefix support ($e, _$e) and
Builtin.ImplicitActor builtin type.
- Reorder popFunctionType children: SendingResult before Isolation
- Match popFunctionParamLabels scan order with individual if checks
- Restructure printFunctionType scan: NonIsolatedCaller deferred output
- Remove @ prefix from nonisolated(nonsending)
- Add bounds checks in printFunctionSigSpecializationParams
- Move ImplSendingResult check before param loop in demangleImplFunctionType
Add experimental-manglings.txt with SugaredInlineArray test cases
sourced from upstream DebugInfo tests. These cover [N of T] sugar
syntax including nested cases. To be removed when upstream adds
official test cases to manglings.txt.
@oozoofrog oozoofrog merged commit 41ad01a into main Feb 11, 2026
1 check passed
@oozoofrog oozoofrog deleted the swift-6.2.3 branch February 11, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant