| Issue 20: | Attempt to create bitmap with negative dimensions does not raise error |
‹ Prev
6 of 6
|
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? Execute the following command on the Watch: local err = dynawa.bitmap.new(50,-1) What is the expected output? What do you see instead? Expected behavior is for the bitmap.new() command to raise normal catchable error. Instead, the program execution continues and "*** RUNTIME ERROR *** not enough memory" is printed (without line number). |