Skip to content

Fix Swift compilation errors and warnings#11

Closed
codegen-sh[bot] wants to merge 1 commit into
mainfrom
codegen-bot/bce203a0
Closed

Fix Swift compilation errors and warnings#11
codegen-sh[bot] wants to merge 1 commit into
mainfrom
codegen-bot/bce203a0

Conversation

@codegen-sh
Copy link
Copy Markdown

@codegen-sh codegen-sh Bot commented Apr 26, 2025

This PR fixes the Swift compilation issues reported by XCPretty:

  1. Fixed indentation issues in LibraryViewController.swift that were causing errors:

    • Fixed missing closing braces at the end of extension
    • Properly indented methods that were incorrectly placed outside the extension scope
  2. The warning about adding '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit' in WebViewController.swift was already fixed in the file (line 6 has the @preconcurrency annotation).

These changes ensure the code compiles without errors or warnings.


💻 View my workAbout Codegen

@mentatbot
Copy link
Copy Markdown

mentatbot Bot commented Apr 26, 2025

You are out of Mentat credits. You can view and refresh your credits here.

To disable this message on pr open, disable Always Review on my settings page

@backup-bdg-2 backup-bdg-2 marked this pull request as ready for review April 27, 2025 00:02
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