$cast failed using parameterised uvm_sequence_item class

In reply to chr_sue:

I’ve tried the declaration as you’ve shown but it’s giving me syntax errors. I’ve tried the below method of declaring the extended_seq_item instead but my $cast is still failing.

Any ideas what else it could be please?


extended_seq_item#(config_class) ext;