Polish behavior and code in the action system #155
No reviewers
Labels
No labels
bug
ci
design
duplicate
engine
enhancement
maintenance
prospective
question
regression
stub
todo
ui
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
StudioInfinity/dyna3!155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Vectornaut/dyna3:actions-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make a few small improvements to the behavior and code of the action system.
Behavior
SphereandPointdescriptors are given arguments, return interpretation errors instead of just ignoring the arguments.SphereandPointno longer accept arguments, interpretation of the miswritten script fails, as it always should have.Code
Selfkeyword in methods, and theselfkeyword in use declarations.actionmodule 86fd354737Polish behavior and code in the action systemto WIP: Polish behavior and code in the action systemConverted to work in progress because I noticed a mistake in the error messages we return when a
SphereorPointdescriptor gets arguments. The message refers toSphereandPointas regulators, rather than elements.SphereandPointdescriptors #156SphereandPointdescriptors #156I decided to put off correcting the error messages until after the pull request that addresses issue #154, because that pull request is ready to go, and it moves the code that needs to be corrected. I've filed issue #156 as a reminder to correct the error messages.
I did update this pull request to fix an error that it reveals in one of the test assembly loading scripts (commit
3fc7597). That update is reflected under the "Behavior" heading in the pull request description. I filed issue #157 to recommend an automated test that would've alerted us when the loading script stopped working.If you think it's okay to put off correcting the error messages, feel free to merge once you've reviewed the update!
WIP: Polish behavior and code in the action systemto Polish behavior and code in the action systemSphereandPointdescriptors #156I'd really rather not get into a habit of cluttering our commit history for the sake of an unfiled on-deck PR. Since these are both reasonably compact PRs, please can you just correct #156 in this PR so that it never happens in the main commit line, and rebase your upcoming PR? If that is for some reason really onerous, please let me know. Thanks for your efforts on this.
And good catch, by the way.
Done in commit
d64919c! Ready to review again.SphereandPointdescriptors #156OK, seems to work fine, and the changes are quite small, and I have filed #158 about a design issue that this PR surfaces, so merging.