-
Notifications
You must be signed in to change notification settings - Fork 38
calling class constructors #291
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
Conversation
jt-traub
left a comment
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.
Please fix the issues with the teleport order and the changes to the unit tests which make the tests less useful.
jt-traub
left a comment
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.
There are still changes to the unit tests which I feel are bad changes.
This code cannot have had any effect.
Always use new ARegion();
also refactored some constructors, especially for Order classes. making sure Order destructors are virtual. replacing empty destructors with default destructor where possible.
even if default values will be overwritten by Readin.
also address shellcheck warnings: * add quotes to prevent globbing and word splitting * Check exit codes directly, don't use test + $?
jt-traub
left a comment
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.
This looks good to me now code-wise, but I still want to run it through my regression tests.
I am out of town at WorldCon through Sunday, so it will be a week until I get around to being able to do that. But I won't be doing anything else on the code in that timeframe either. Please don't merge until I have a chance to do that regression run.
jt-traub
left a comment
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.
Tested with my regression suite and all passed.
Single issue was a slight bug with CastInvisibility which I pushed a small fix for to this PR.
lots of
new Foo;that was better off beingnew Foo();