I guess it's this repo you've mentioned in another thread, have you been able to figure out?
A bit weird, I've just tried in playground and adding final works, but trying with your repo fires must be as accessible as its enclosing type
error. Maybe some package limitation or actually a bug?