Looks like you’re on the right track — subtype(base_class)
can’t be directly instantiated with {}
like a regular class type. One workaround is to define a factory method on each subclass and store function references instead of raw types. This way, you can call the function to create an instance without hitting the macro issue. Definitely seems like a current limitation in how dynamic subclass handling works in Verse.