super
with implicit block argument will not call initialize
#14768
Labels
super
with implicit block argument will not call initialize
#14768
Bug
if
initialize
of a class and it's parent have the same signature,super
can be used without explicitly passing the arguments.However if they take only a block argument, and you do not pass it explicitly,
initialize
of the parent class is never called, which easily leads to a segfault.Sample
this is the backtrace:
Update
For some reason, adding a second argument to the
initialize
functions instead causes a strange compile error:with the error being
Version info
OS: macOS 14.1.1 (Sonoma)
The text was updated successfully, but these errors were encountered: