-
Notifications
You must be signed in to change notification settings - Fork 916
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
Allow to use parameters and properties in the variable action and condition #7124
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
94d1768
Expose parameters and properties in VariablesContainerList.
D8H d7b68da
Add new parameter type variableOrPropertyOrParameter and variableOrPr…
D8H 5e995c3
Add code generation.
D8H af0e851
Fix expression validator.
D8H aa33e1b
Fix Core tests.
D8H e174ab9
Fix GDevelop.js tests.
D8H 3da7836
Add code generation tests.
D8H e8022d0
Add test with name collisions.
D8H fb857f2
Fix variable type detection.
D8H 042abb7
Add a refactoring operation for property type change.
D8H d5b34f4
Add tests for property renaming.
D8H 0ba1e5d
Fix property renaming.
D8H 3e07508
Rename parameters
D8H 8e6cfe6
Add tests for parameter renamed in variable parameters.
D8H b5d6d33
Add a refactoring operation for parameter type change.
D8H 5e3d045
Fix a regression in code generation for local variables in behavior f…
D8H 725526a
Add tests for free functions.
D8H cefe3a9
Add a line break in the generated code.
D8H 9dff6aa
Fix boolean variable conditions when the value is neither True or False.
D8H 9c71c06
Fix a typo in tests and rename a function.
D8H 275af93
Add errors for property or parameter with children.
D8H 55c1eba
Clearer comment.
D8H b2169cd
Fix variables list for actionWithOperator behavior function parameters.
D8H 671290f
Fix typo in test title
D8H File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a risk that the caller of this function would expect to get back something like "variableOrProperty" or "variableOrPropertyOrParameter"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the same for legacy variables. I moved the comment so it's clearer.