Ary Borenszweig

Results 414 comments of Ary Borenszweig

That's already the case. The only issue is that because of some semantic intricacies, they are only accessible inside methods: ```crystal def foo {% p LibC.class.methods %} end foo ```

It's interesting because this code compiles: ```crystal alias T = Hash(Int8, Class) h = T.new h[1] ``` But this doesn't: ```crystal h = Hash(Int8, Class).new h[1] ``` ``` 2 |...

> The compiler infers that x should be Nil and Int32, in the body of the if No, I think just `Int32`. Why also `Nil`?

Oh, right, the reference manual... no, I don't have a PR for that. I wonder if the manual should live in this repo too, somewhere, so that they can be...

Too bad this didn't get merged when I sent it. Now the merge conflict is a bit hard to fix. And this is a nice feature.

I'll open another PR for this.

Ah, it's a mess... and now with arg renamed to param. It's a lot of work 😢 If anyone wants to take a stab at this, please go ahead. I...

@oprypin Thanks! I think I managed to do the merge after all. We'll see what CI says... I'll also check the final diff now.

I think it looks good. This would have been nice for 1.6... 😢 I'm sure going to need this for the next Advent of Code, which I'll likely stream, trying...