Open gaetanomatonti opened 2 months ago
For anybody coming here due to the same error - you are supposed to create an instance of the Window
class and assign it to mainWindow
yourself. This is one of a few exercises where you have to read the entire instruction and implement almost everything (at least function stubs) before executing tests for the first time.
In exercise "Windowing System" there is a compile issue with the test bundle. Specifically, the
testMainWindow()
function contains a reference tomainWindow
, aWindow
instance that does not exist in its scope.This causes the whole exercise to fail, both locally and on the online editor.
The fix is pretty straightforward, since we only need to add the following code to the function: