@SatoriFN This is a tricky problem with the current compiler. Parametric classes like the queue
are not currently usable outside of their file, but putting the file that calls the generic class in a submodule resolves this. Check step 2.6 in the “Healing Characters inside a volume” of the medic tutorial, that’s the part that covers moving the medic_example
into its own separate submodule. In a future version of Verse this step should be unnecessary - parametric classes like queue.verse
will be useable in other files regardless of your file structure. You could also implement queue.verse
in the file that calls it directly but as you said it’s not always ideal. Check if the file structure in the image I attached resolves the error.
7 Likes