[FEATURE] Import Scripted Classes#194
Merged
EliteMasterEric merged 1 commit intoFunkinCrew:experimentalfrom Aug 8, 2025
Merged
[FEATURE] Import Scripted Classes#194EliteMasterEric merged 1 commit intoFunkinCrew:experimentalfrom
EliteMasterEric merged 1 commit intoFunkinCrew:experimentalfrom
Conversation
3eacb74 to
8cee453
Compare
|
will #201 replace this? or is it a separate thing |
Author
Member
|
When you want to |
b1ace5d to
f73c56b
Compare
EliteMasterEric
requested changes
Jul 3, 2025
Member
EliteMasterEric
left a comment
There was a problem hiding this comment.
Still has merge conflicts with the experimental branch.
f73c56b to
cef484b
Compare
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.
DESCRIPTION
This pr adds the ability to import scripted classes like you would do in regular haxe, meaning:
EXPLANATION
We create another imports variable to the
PolymodClassDeclEx, because a script might import a class that hasn't been registered yet.After all classes have been registered and parsed, we validate the imports. If the import still can't be found we give the user an error.