Skip to content

🌍 #371 Fix infinite rendering loop on static properties#381

Merged
nth-commit merged 1 commit into
mainfrom
terra/fix-infinite-rendering-loop
May 25, 2023
Merged

🌍 #371 Fix infinite rendering loop on static properties#381
nth-commit merged 1 commit into
mainfrom
terra/fix-infinite-rendering-loop

Conversation

@nth-commit

Copy link
Copy Markdown
Owner

It's not meaningful to render static properties on a (non-static) counterexample, so don't.

Also, this was causing an infinite loop when rendering a counterexample containing System.Drawing.Color. I've put in an extra safeguard, so that the object renderer checks that it isn't rendering a type that it hasn't just seen.

@nth-commit
nth-commit force-pushed the terra/fix-infinite-rendering-loop branch from ea1e55e to 4e84e48 Compare May 25, 2023 01:13
It's not meaningful to render static properties on a (non-static) counterexample, so don't.

Also, this was causing an infinite loop when rendering a counterexample containing System.Drawing.Color. I've put in an extra safeguard, so that the object renderer checks that it isn't rendering a type that it hasn't just seen.
@nth-commit
nth-commit force-pushed the terra/fix-infinite-rendering-loop branch from 4e84e48 to 80cac82 Compare May 25, 2023 01:27
@nth-commit
nth-commit merged commit 8dfd600 into main May 25, 2023
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.

1 participant