Quinton Miller
Quinton Miller
`Pointer(T)` includes `Comparable(self)`, so it defines a `#==(other : self)` method; since this `self` is equivalent to `Pointer(T)`, and since this `T` is covariant in a type restriction, the second...
Passing `:f32` or `:f64` to the kind parameter would be an error, but then it would be somewhat odd to add a separate `StringLiteral#to_f` that does a similar conversion, only...
By the way, one existing workaround is `{{ 0_i64 + parse_type("Foo(#{str.id})").type_vars[0] }}`.
The mere mention of `Pointer` puts your code in unsafe territory, whichever constructor is used. This is mostly about making such code more ergonomic because pointers have relatively straightforward ABI...
> just `def foo(x)` to satisfy `abstract def foo(x : U) : U forall U` IMO this should be legal with or without a return type in the abstract def,...
Is this comment meant for #16430 instead...?
In compiled code, When a def's body is exactly an `InstanceVar` node, `Crystal::CodeGenVisitor#try_inline_call` inlines calls to that def such that the calls act like a `ReadInstanceVar` instead, for both improving...
Related: #11259
Related: #13648
A workaround is to assign `$~` to itself before the yield. This might have been a known issue since the standard library has been doing this for a very long...