Parametric classes not usable outside of own file

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

Parametric classes not usable outside of own file

Steps to Reproduce

Make a parametric class, reference it outside the file

Expected Result

No errors, the class should be called outside the file (it’s not in a module, and even when inside a module, the same error occurs)

Observed Result

Can’t access a function from a preceding type. (3502)

Error only raises once we make a reference to that class.

Platform(s)

PC

Additional Notes

This is the 3rd time it happens to me, but this time with a snippet from a staff member’s (Generic Queue Implementation | Uefn Code Snippet)

It’s really annoying, because you can only use the class once in a single file, else you’d have to merge all of your Verse files referecing this class together…

Also related : How can I make a custom listenable? - #5 by TheCreaitor

Getting the same issue quite often when using generics!

1 Like

@TheCreaitor Thank you for your report! Can you please re-post using the “New Issue” option on the Issues and Bug Reporting forums? Posts with this feature are connected directly into our development team so we can quickly get to them!For more information, such as how to get the reference ID, please check out the article here: https://create.fortnite.com/news/using-the-creative-and-uefn-bug-reporting-form

This is already an “issue” topic, did it not sent correctly to the devs?

1 Like

The status of UCB-980 incident has been moved from ‘Awaiting Validation’ to ‘Closed’.

What does that mean ?

When they asked what they could do better on in that Discord chat, this would be the primary example.

2 Likes

Any updates?

Hi @im_a_lama - The reason is because it was closed as a duplicate ticket. I’ll ask if we can get some better wording when issues are closed as duplicate.

2 Likes

Hey Flak, I opened another ticket for the same topic since I didn’t know it was a duplicate, but I added important details for to the “how to reproduce” section, that should help reliably reproducing this bug. If you can link me the original ticket, I can add that info into that post and delete mine.