Carp icon indicating copy to clipboard operation
Carp copied to clipboard

Game of Life example is broken

Open eriksvedang opened this issue 3 years ago • 3 comments

Complaints about multiple identical lookups.

eriksvedang avatar Jan 03 '22 17:01 eriksvedang

This seems to be related to the submodule loading:

(use SDL.Event)
(use SDL.Keycode)
(use SDL.Mouse)
(use SDL.MouseState)

This seems to add the parent module multiple times?

hellerve avatar Jan 03 '22 18:01 hellerve

@hellerve Aha! I think you're onto something there.

eriksvedang avatar Jan 03 '22 19:01 eriksvedang

Since removing these lines (and fixing the paths afterwards) fixes the program, this must be it somehow.

hellerve avatar Jan 03 '22 19:01 hellerve