Repository navigation
Recognize pkg.generated.mbti and pkg.mbti as MoonBit - #8367
Open
peter-jerry-ye wants to merge 1 commit into
Open
peter-jerry-ye wants to merge 1 commit into
peter-jerry-ye wants to merge 1 commit into
Conversation
peter-jerry-ye
marked this pull request as ready for review
November 27, 2026 03:56
Member
All filenames in a PR must meet the usage requirements as we evaluate them in isolation. This will hold up this PR. As for the other filename, given that it's generated, you probably want to update this PR so that linguist marks these files as generated too and save having to do it later in another PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
pkg.generated.mbtiandpkg.mbtitofilenamesin the existing MoonBit language entry, following the approach used formoon.modandmoon.pkgin #8196.Description
moon infogeneratespkg.generated.mbtito describe a package’s public interface. A virtual package usespkg.mbtito declare the interface its implementations must provide. Both files contain MoonBit interface declarations and can use the existingsource.moonbitgrammar. Virtual package documentationpkg.mbtifalls below the filename usage threshold on its own. Given its specific role in virtual packages, would you be willing to accept it alongsidepkg.generated.mbti? We’re happy to narrow the PR topkg.generated.mbtiif you prefer to assess each filename independently.Checklist:
.mbtiextension is outside the scope of the change.pkg.generated.mbti— 17.6k files. GitHub Code Searchpkg.mbti— 59 files. GitHub Code Searchpkg.generated.mbtiis the generated public interface ofmoonbitlang/parser. Sample source · Apache-2.0 licensepkg.mbtideclares the interface of Selene’splatform_windowvirtual package. Sample source · Virtual package declaration · Apache-2.0 license