Skip to content

Fix Swift compilation errors and warnings#10

Closed
codegen-sh[bot] wants to merge 2 commits into
mainfrom
codegen-bot/87e38451
Closed

Fix Swift compilation errors and warnings#10
codegen-sh[bot] wants to merge 2 commits into
mainfrom
codegen-bot/87e38451

Conversation

@codegen-sh
Copy link
Copy Markdown

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

This PR fixes the Swift compilation errors and warnings reported by XCPretty:

  1. Fixed missing closing brace at the end of the UITableView DataSource & Delegate extension in LibraryViewController.swift (line 339)
  2. Added @preconcurrency annotation to the WebKit import in WebViewController.swift to suppress Sendable-related warnings

These changes should resolve the following issues:

  • expected '}' at end of extension error
  • expected declaration error
  • add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WebKit' warning

💻 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

Automatically fixed code quality issues using SwiftLint, SwiftFormat, and Clang-Format.
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