Closed MoretzAcc closed 3 years ago
Using Racket v7.9 on Windows 10 Desktop PC.
The function (: make-color (natural natural natural -> color) ist supposed to create a color out of RGB values.
Im looking at 3 different cases:
1: (make-color 42 42 255) ; here the code was executed correctly
2: (make-color 42.5 42 255) ; in this case DrRacket informed, that 42.5 is not an Integer between 0 and 255, which is also the expected behavior
3: (make-color 42.0 42 255) ; But in this case Racket crashes and I have to force close. This issues occurs consistently.
I attached a screenshot of me finding it. It was replicable
Using Racket v7.9 on Windows 10 Desktop PC.
The function (: make-color (natural natural natural -> color) ist supposed to create a color out of RGB values.
Im looking at 3 different cases:
1: (make-color 42 42 255) ; here the code was executed correctly
2: (make-color 42.5 42 255) ; in this case DrRacket informed, that 42.5 is not an Integer between 0 and 255, which is also the expected behavior
3: (make-color 42.0 42 255) ; But in this case Racket crashes and I have to force close. This issues occurs consistently.
I attached a screenshot of me finding it. It was replicable