Skip to content

Fixed build error for Swift 6 in AEPOptimizeError Class#157

Open
akhiljain1907 wants to merge 1 commit into
adobe:mainfrom
akhiljain1907:fix/Swift6
Open

Fixed build error for Swift 6 in AEPOptimizeError Class#157
akhiljain1907 wants to merge 1 commit into
adobe:mainfrom
akhiljain1907:fix/Swift6

Conversation

@akhiljain1907
Copy link
Copy Markdown
Contributor

Updated AEPOptimizeError class to be final as Swift 6 enforces stricter rules and Only final classes can safely conform to Sendable. Also updated test for testBase64Decode_invalidString as the behavior of Base64 decoding in Swift changed subtly across versions.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…er rules and Only final classes can safely conform to Sendable. Also updated test for testBase64Decode_invalidString as the behavior of Base64 decoding in Swift changed subtly across versions.
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.

2 participants