Papierkorb / bindgen

Binding and wrapper generator for C/C++ libraries
GNU General Public License v3.0
179 stars 18 forks source link

Unify methods #122

Closed f-fr closed 2 years ago

f-fr commented 2 years ago

This fixes issue 48 of qt5.cr.

The implementation addresses the problem described in this bug report. The argument lists of inherited virtual methods are unified so that possible missing default argument (or nilability) is preserved through inheritance. This ensures that the types do not differ by nilability in derived classes (which is forbidden in Crystal).

docelic commented 2 years ago

Awesome!