Papierkorb / bindgen

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

Regression: require SequentialContainer(T)#push to accept value of type T #104

Closed HertzDevil closed 3 years ago

HertzDevil commented 3 years ago

abstract def push(value) without the type restriction on value will no longer work as of crystal-lang/crystal@d44530d, which produces errors such as

In tmp/containers.cr:65:20

 65 | abstract def push(value)
                   ^---
Error: abstract `def Test::BindgenHelper::SequentialContainer(T)#push(value)` must be implemented by Test::Container_std__vector_int