Closed snegovick closed 4 years ago
Describe the bug BCAD exits due to unhandled exception if polygon arguments are incorrect lists.
To Reproduce This code reproduces errors: polygon([0,0], [0,24]); and polygon([[0,0], [0,24], []]);
polygon([0,0], [0,24]);
polygon([[0,0], [0,24], []]);
Expected behavior If arguments are bad, warning should be produced.
Screenshots N/A
Environment (please complete the following information):
Additional context None
Describe the bug BCAD exits due to unhandled exception if polygon arguments are incorrect lists.
To Reproduce This code reproduces errors:
polygon([0,0], [0,24]);
andpolygon([[0,0], [0,24], []]);
Expected behavior If arguments are bad, warning should be produced.
Screenshots N/A
Environment (please complete the following information):
Additional context None