Open
Conversation
Member
|
|
Author
|
在详细解释一下, 生成方法参数的类型是一个Nested Protected类型, xLua在外面无法直接访问到, 导致编译错误。上面可能没有解释的很清楚 |
Collaborator
|
这种比较少见的情况,用BlackList解决即可,BlackList是可以支持一个filter函数的: |
Contributor
|
这种用户没有动任何配置,却无法生成正确的代码的情况,是应该被修复的。我认为这个 PR 应该被合并。 这样对于新用户友好。用户不需要自己写黑名单就可以避免这种问题。 毕竟,受保护的成员本来就不应该被生成,毕竟就算生成了代码,也是错误的。 |
Collaborator
|
建议改为配置 |
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.
整合FairyGUI的时候, 用CodeGen生成代码,发现匿名方法, 还有Protected类型也会生成, 但是这样会导致编译错误,这里就屏蔽了匿名方法, 和Protected类型的方法生成