-
Consider the following:
```crystal
@[Extern]
struct Foo
@x = 0_i64
@y = 0_i128
end
foo = Foo.new
pointerof(foo.@x) # => Pointer(Int128)@0x7fffd4e08e60
pointerof(foo.@y) # => Pointer(I…
-
## Bug Report
Originally this was an error in Athena CI, but not locally as it didn't reproduce, but did on MacOS and CI. So not sure what was up with that. However, after looking into it more (tha…
-
## Feature Request
`crystal tool hierarchy` is really useful for getting an overview of the classes/structs available. I currently have a refactor branch of the vscode extension that uses it to qui…
-
```
╰─ $ crystal i
icr:1:0> require "yaml"
=> nil
icr:2:0> YAML.parse(File.read("./foo.yml"))
undefined reference to `yaml_event_delete' (Crystal::Loader::LoadError)
from /home/zw963/Crystal/c…
-
## Bug Report
For more details, check discuss on https://forum.crystal-lang.org/t/in-case-statement-case-nil-and-range/2623/2
Following code not work on Crystal 1.7.2
```
ch : Char? = nil
…
zw963 updated
1 month ago
-
## Bug Report
This:
```crystal
macro x
end
if true #
a = "xy" #
end
```
... formats to this:
```crystal
macro x
end
if true #
a = "x y" #
end
```
Macro with l…
-
After #14490, I checked if any other `#to_macro_id` implementation is also problematic. This is the one for `Call`:
https://github.com/crystal-lang/crystal/blob/562fb7bf7a580fa915c5ac7330c362ac4d19…
-
This discussion came up in https://github.com/crystal-lang/crystal/issues/5430#issuecomment-1179500955
`IO.pipe` is currently implemented based on file descriptors, which has a couple downsides:
…
-
## Discussion
The [YAML](https://crystal-lang.org/api/YAML.html) is currently all based on YAML 1.1 spec, which debuted in 2005. However, it seems as of 2009, the YAML 1.2 spec was finalized, and m…
-
### Description
Throws various errors related to HTTP::Server and IO:Error **however the content loads and works.**
### Steps to Reproduce
```
require "kemal"
get "/" do | env |
send_fi…