Closed Clyybber closed 5 years ago
Can we get a release for this?
Yeah. I should fix up a few other places that need similar adjustment. Give me a few minutes.
Ok. New release published. Let me know if you have any problems. I was just running into these csize
problems this morning myself.
I guess there's been some thrashing about on this. Maybe I should not have fulfilled @genotrance's request for a new release. In my defence, I think knowing what to do 15 days ago would have required clairvoyance about how Araq was going to handle things. Anyway, I think I am going to just define csize
as a module-internal type alias for uint
in all the modules that use it. Objections? Affirmations? Alternatives? I just pushed a commit. Speak up today before I re-release.
I'm sorry, I couldn't have predicted that the change would be reverted (and tbh that revertion was pretty useless, as this change didn't cause much more breakage than what I've send PRs out for).. RE: csize as an internal alias: I think thats a good idea.
Ok. It's only a few lines and not drastically confusing. Maybe a year from now, I'll drop support for old Nim versions. Then the story will be simpler.
I do think deprecation periods are nice, and Nim does have mechanisms for that, though types are trickier than overloads on procs. Transition care is always a bit of a judgement call. Anyway, I'm just trying to do right by cligen
users going forward not relitigate some Araq decision. Just bore mentioning that I couldn't know the right thing to do.
See https://github.com/nim-lang/Nim/pull/12321 and https://github.com/nim-lang/Nim/issues/12187