Skip to content

Conversation

@ennorehling
Copy link
Contributor

lots of new Foo; that was better off being new Foo();

@ennorehling ennorehling marked this pull request as draft August 9, 2025 17:34
@ennorehling ennorehling marked this pull request as ready for review August 9, 2025 18:01
Copy link
Contributor

@jt-traub jt-traub left a 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.

Copy link
Contributor

@jt-traub jt-traub left a 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 + $?
@ennorehling ennorehling requested a review from jt-traub August 13, 2025 08:30
jt-traub
jt-traub previously approved these changes Aug 13, 2025
Copy link
Contributor

@jt-traub jt-traub left a 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.

Copy link
Contributor

@jt-traub jt-traub left a 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.

@jt-traub jt-traub merged commit 63710e0 into Atlantis-PBEM:master Aug 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants