crystal
crystal copied to clipboard
The Crystal Programming Language
## Feature Request - Is your feature request related to a problem? Please describe clearly and concisely what is it. - Describe the feature you would like, optionally illustrated by...
## Bug Report ```crystal # or class or struct module M(T) macro foo {% p @type %} end end M.foo # => M(T), expected alias Mx = M(Int32) Mx.foo #...
With `ExecutionContext` soon being available I think it would be nice to be able to pass an optional `ExecutionContext` to `WaitGroup` in which the WG till spawn fibers. I'd like...
Uses the libxml per context error handlers when available. For example we can always use it for `XML::Reader` since it's available since at least libxml 2.9 (released in 2012), that...
I'm using `Crystal 1.16.3 [3f369d2c7] (2025-05-12), LLVM: 18.1.8, Default target: x86_64-unknown-linux-gnu` ```crystal x = 0x12345678u32 # mind the u32 x, y = 0x1234u16, 0x1234u16 # assignment to both same and...
This gives an error: ``` def hello(begin) end ``` While this does not: ``` def hello(begin : String) end ``` It should not be possible to declare a local variable...
libxml allows to customize the memory allocators, which we used to plug the GC. Under certain conditions (e.g. MT, libxml 2.14), **this integration leads to segfaults** when a GC cycle...
## Bug Report An `oq` user reported a [crash](https://github.com/Blacksmoke16/oq/issues/134) when using the `xml` format. ```cr require "xml" pp XML.parse(%(Fred)) ``` Results in: ```cr Invalid memory access (signal 11) at address...
I've been developing new rules for ameba, and as part of that have been testing them on this repository to verify their functionality. I've found a few issues that could...
## Feature Request The basic idea would be to document in what version of the library a class, method, or constant was added. Something like: ```crystal # Deserializes the given...