Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed duplication of static function Luau::Codegen::hasTypedParameters #1129

Closed
wants to merge 4 commits into from
Closed

Conversation

UtoECat
Copy link

@UtoECat UtoECat commented Dec 15, 2023

The function definition and directive #include "lobject.h" have been moved to a separate header file.

@vegorov-rbx
Copy link
Collaborator

We already have IrUtils, I don't think it's worth adding a new file for a single function that seems to specialize on what can be done with a Proto type. Considering how minor the issue is.

I would suggest exposing the BytecodeAnalysis implementation in BytecodeAnalysis.h and using that in IrBuilder that already includes and depends on the BytecodeAnalysis.h.

@UtoECat UtoECat marked this pull request as draft December 16, 2023 00:27
@UtoECat
Copy link
Author

UtoECat commented Dec 16, 2023

Should I move BytecodeAnalysis.h to CodeGen/src/? Or is #include "lobject.h" in this file not such a problem?

@UtoECat UtoECat closed this Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants