Johannes Müller

Results 185 issues of Johannes Müller

As suggested in https://github.com/crystal-lang/crystal/pull/14937#pullrequestreview-2257752150

kind:specs
topic:stdlib:text

Resolves #14934 `XML::Error.errors` collects all error messages from libxml2. Using it is deprecated, but without any calls to it, the error array is never cleared. So we're dropping it because...

kind:bug
breaking-change
topic:stdlib:serialization

`XML::Error` has a class variable `@@errors` which accumulates error messages from calls into `libxml2`. It's accessible via the class method `XML::Error.errors` which returns the current items and resets the instance...

kind:bug
topic:stdlib:serialization

Resolves #14931

kind:bug
topic:compiler:cli

`Channel.select_impl` allocates an array for all action locks, even if there is only a single one (https://github.com/crystal-lang/crystal/pull/12694#issuecomment-1296196003). This can be avoided. Most typically it should only be a handful of...

kind:feature
performance
topic:stdlib:concurrency

The `Digest` class behaves as a stream writer, so it would make sense to have it inherit `IO`. This would allow using `Digest` implementations as data sink in an IO...

kind:feature
status:discussion
topic:stdlib:files

Two of our aarch64 CI jobs consistently fail with an invalid memory access while building `std_spec` since #10889. Latest master runs: * aarch64 `musl-test-stdlib`: https://github.com/crystal-lang/crystal/runs/3977186749?check_suite_focus=true * smoke `aarch64-darwin`: https://github.com/crystal-lang/crystal/runs/3975877315?check_suite_focus=true The...

kind:bug
platform:aarch64
topic:compiler:codegen

Adds documentation about which library versions are supported by the various lib bindings. I'm planning to put that information on https://crystal-lang.org/reference/1.13/man/required_libraries.html as well. The URLs to this page should hopefully...

kind:docs
topic:stdlib

When passing a path to the `--output` option with a non-existent directory, the compiler generates an unintelligible error message. ```console $ bin/crystal build empty.cr -o notexist/empty.o --cross-compile No such file...

kind:bug
topic:compiler:cli

An interpreter built with a LLVM 18 compiler crashes with invalid memory access when using a 128-bit integer type. The reproduction requires a compiler with LLVM 18 which builds a...

kind:bug
topic:compiler:semantic
kind:regression
topic:compiler:interpreter