crystal
crystal copied to clipboard
The Crystal Programming Language
## Bug Report Using the logger to print any kind of message (`Log.setup` doesn't seem to trigger this) results in the HTTP::Server infinitely spamming logs whenever the file descriptor limit...
Follow-up to #15782
I think this is missing from the documentation. The PR is self explanatory (I believe)
Currently with Crystal docs, if you have a large shard it will generate huge html files. If we take the [mjblack/win32cr](https://github.com/mjblack/win32cr) shard and `development/docs` branch as an example, it will...
The formatter usually trims all whitespace from a line that only contains whitespace. But it does not do that in heredocs. For example, the formatter would remove the two white...
We can't detect without significant overhead whether the file at *path* might block for a while before calling open. While `O_NONBLOCK` has no effect on regular disk files, special file...
## Bug Report In the following example the `"` causes compilation to fail ```crystal {% begin %} \{% begin %} \\{% begin %} \\{% puts "hi\"".gsub(/"/, "").downcase %} \\{% end...
This is the output of compiling [cr-source-typer](https://github.com/Vici37/cr-source-typer) and running it with the below incantation: ``` CRYSTAL_PATH="./src" CRYSTAL_HAS_WRAPPER=1 ./typify spec/std_spec.cr --error-trace --exclude src/crystal/ --stats --progress --union-size-threshold 2 --ignore-private-defs --ignore-protected-defs src/json ```...
Attempting to use an escaped heredoc identifier in the REPL causes it to evaluate the expression as an empty string: ```cr icr:1> p ```
Typically, all identifiers must start with an ASCII letter or underscore and proceeding alphanumeric character, however, numeric and underscore-only identifiers are accepted for heredocs: ```cr p