Skip to content

Conversation

@mit-mit
Copy link
Member

@mit-mit mit-mit commented Nov 5, 2025

Fix unintentional linebreak in bullet list

@mit-mit mit-mit requested a review from liamappelbe November 5, 2025 11:54
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @mit-mit, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses a minor formatting inconsistency within the Objective-C interop documentation. By removing an accidental '2.' from a numbered list, the change ensures that the document's structure is correct and that information is presented clearly and accurately to readers.

Highlights

  • Documentation Formatting: Corrected an incorrectly numbered list item in the Objective-C interop documentation, removing an extraneous '2.' to ensure proper enumeration and readability.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses a formatting error in the Objective-C interop documentation. The change correctly merges a list item that was previously split incorrectly, which enhances the clarity and readability of the text. The fix is accurate and well-executed. I have no further recommendations.

Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Thanks for catching this!

@parlough
Copy link
Member

parlough commented Nov 5, 2025

Fix for the build failure is in #6996.

@dart-github-bot
Copy link
Collaborator

Visit the preview URL for this PR (updated for commit 2496c2d):

https://dart-dev--pr6995-mit-mit-patch-1-6fwlyfuu.web.app

@parlough parlough merged commit aaa7436 into main Nov 5, 2025
11 checks passed
@parlough parlough deleted the mit-mit-patch-1 branch November 5, 2025 13:06
parlough pushed a commit that referenced this pull request Nov 7, 2025
I tried out the revamped Objective-C interop instructions from
#6942 (thank you for updating
them 🙏 ) and noticed a handful of minor issues that this PR addresses:

* Instruct people to add dependencies to the helpers
`package:objective_c` and `package:ffi`.
* Add a missing import to `package:objective_c` to the sample code to
resolve `NSString`.
* Adjusted some file paths to align with best practices (e.g. generate
the bindings into the `lib` directory).
* Fixed a nullability issue by checking `player == null` and bailing
early.
* ~Fixed an issue with the enumeration in the multithreading section.~
Already fixed in #6995.
* Removed the `ignore_for_file` preamble configuration since FFIgen
auto-generates `// ignore_for_file: type=lint`.

I also changed the second half to use highlights in the sample code just
like it is done in the first half. I find that easier for following
along. Plus, in the end you get to see the complete code.

I've also incorporated #6990
into this PR.
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.

4 participants