-
Notifications
You must be signed in to change notification settings - Fork 903
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
base: master
Are you sure you want to change the base?
Conversation
f676bd5
to
9a7b060
Compare
ec408b7
to
6c098a5
Compare
de90712
to
966c9d2
Compare
de21147
to
be8c37f
Compare
@@ -460,6 +460,8 @@ const gd::String& ExpressionValidator::TypeToString(Type type) { | |||
case Type::NumberOrString: | |||
return numberOrStringTypeString; | |||
case Type::Variable: | |||
case Type::VariableOrProperty: |
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"?
@@ -136,6 +136,74 @@ CreateInstructionWithVariableParameter(gd::Project &project, | |||
return event.GetActions().Insert(instruction); | |||
} | |||
|
|||
const gd::Instruction & |
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.
Thanks for the exhaustive tests 👍
newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js
Outdated
Show resolved
Hide resolved
ef546d2
to
3fa471c
Compare
Changes
Technical solution
VariablesContainersList
.ObjectsContainerList
.variableOrPropertyOrParameter
andvariableOrProperty
.variable
.Manual tests