You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vim9script
class A
def ToString()
echo 'A'
enddef
endclass
abstract class B extends A
abstract def ToString()
endclass
class C extends B
def ToString()
super.ToString()
enddef
endclass
C.new().ToString()
Run this and nothing happens.
Expected behaviour
Either A should be output or there should be an error.
Tried this on java, get an error
C.java ... abstract method ToString() in ... B cannot be accessed directly