I have this structure for generic types, but it ob...
# getting-started
c
I have this structure for generic types, but it obviously doesn't work. It's probably something simple, but I'm not sure why.
f
You are narrowing the type of
pvm
argument of method
foo
It's hard to tell what you are trying to achieve, but the method override as is against LSP
c
Ah, yes, that was it. It was very hard to tell when the classes were scattered across four different files.
Thank you so much.
🙇 1
y
I think what you meant was
abstract fun foo(pvm: C<T>)
plus1 1