Repository navigation
修复 GameDirectoryPage 缺失的 MessageDialogPane import - #6805
Merged
Merged
Conversation
Contributor
|
我纳闷的是,这个检查在那个 PR 的最后一次 commit 里是通过了的,合并后居然报错了。🤔 |
Contributor
Author
|
我要不是手贱同步了下主线,还真没发现,因祸得福? |
Contributor
Author
Contributor
Author
关于 main 分支编译失败的成因结论:不是 #6203 漏写了 import,而是三方合并在两个分支各改一半的情况下,把 import 静默吃掉了。 时间线
#6203 分支从未同步过 8月31日那次展开,它基于的还是通配符版本。 合并时发生了什么三方合并的两边改动如下:
main 展开 有个数字能佐证这个过程:#6203 分支对 为什么 CI 是绿的#6203 最后一次 push 是 8月26日,CI 基于当时的代码,确实能编译通过——那时 问题在于 GitHub 不会在 base 分支前进时重跑开放 PR 的 CI。 这是典型的语义冲突:文本上逐行合并干净利落、git 判定无冲突,语义上却坏了。编译器只有拿到最终合并结果才会报错。 建议
修复本 PR 补上缺失的 import,恢复 main 的编译。 |
Merged
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.

上游提交 efb4758(#6203)在
GameDirectoryPage.onSave()中使用了MessageDialogPane.MessageType.WARNING,但未添加对应 import,导致
HMCL模块编译失败,main 分支的 build 检查自该提交起持续失败: