Confusing error regarding parametric types

Reference ID

No reference ID

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

Visual Studio code shows no error but UEFN log shows errors when verse code changes is built (via Verse → Build Verse Code) in UEFN.

Steps to Reproduce

Create 2 folders in the project (I did ‘Class1Module’ and ‘Class2Module’)

For Class1Module:
Add a file ‘class1.verse’ with the following code:

class1(t : type) := class:
Member : t

For Class2Module:
Add a file ‘class2.verse’ with the following code:

using { Class1Module }

class2 := class:
Member : class1(int)

After that, build the verse code

Expected Result

No errors and changes can be pushed to UEFN

Observed Result

Visual studio shows no error however when you try to build verse code, the following things happen:
C:/Users///Fortnite Projects//Plugins//Content/Class2Module/class2.verse(1,9, 1,21) : Script error 3506: Unknown identifier Class1Module.
C:/Users///Fortnite Projects//Plugins//Content/Class2Module/class2.verse(4,14, 4,20) : Script error 3506: Unknown identifier class1.

Sometime, I would get an error that goes along like this on ‘class1(t : type) := class:’ part of class1.verse:
‘Can’t access a function from a preceding type.’

Platform(s)

PC

Island Code

No island code

Additional Notes

The reason why I thought that this could be a bug is because on Visual Studio Code, it says there is no errors, but UEFN says otherwise

Please let me know if this is an error or an intended feature of verse

Thanks