We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The pattern
var circle = Polygon.Circle(10); var innerCircle = Polygon.Circle(9).Reversed(); var profile = new Profile(circle); profile.Voids.Add(innerCircle);
throws an error as the voids list has not been instantiated.
Expected behavior is for this to just work as voids by default is a list of 0 elements.
Workaround of profile.Voids = new List<Polygon>(){innerCircle}; is fine for now but might trip up a newcomer and isn't the nicest.
profile.Voids = new List<Polygon>(){innerCircle};
The text was updated successfully, but these errors were encountered:
Closed in #295.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The pattern
throws an error as the voids list has not been instantiated.
Expected behavior is for this to just work as voids by default is a list of 0 elements.
Workaround of
profile.Voids = new List<Polygon>(){innerCircle};
is fine for now but might trip up a newcomer and isn't the nicest.The text was updated successfully, but these errors were encountered: