carp-lang / Carp

A statically typed lisp, without a GC, for real-time applications.
Apache License 2.0
5.48k stars 173 forks source link

Game of Life example is broken #1369

Open eriksvedang opened 2 years ago

eriksvedang commented 2 years ago

Complaints about multiple identical lookups.

hellerve commented 2 years ago

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?

eriksvedang commented 2 years ago

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

hellerve commented 2 years ago

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