docopt.cr icon indicating copy to clipboard operation
docopt.cr copied to clipboard

Use delegate instead of inheriting Array(String)

Open ralsina opened this issue 1 year ago • 1 comments

Having Tokens inherit Array(String) was breaking unrelated code because of https://github.com/crystal-lang/crystal/issues/11734

This PR removes the inheritance and replaces it with composition and usage of the delegate macro

ralsina avatar Sep 02 '24 14:09 ralsina

Is there a way to get this merged? It's harmless and prevents very obscure bugs :-)

It would need a tweak in the README that now has my URL but other than that it does nothing weird.

ralsina avatar Sep 17 '24 20:09 ralsina