crystal
crystal copied to clipboard
The Crystal Programming Language
## Bug Report Following is a very simple example ```cr # 1.cr module SomeController macro included def hello puts "hello" end end #
I test crystal-1.5.0-1 and crystal-1.3.2-1 both got this bug: I have two servers(A and B, they both are in same local area network by one WIFI): A: ip 192.168.8.83, Unbuntu...
I was working on an XML API a while ago and this is some of the work from that. It is unfinished and needs things like discriminators. But this could...
The following code: ```cr alias RecType = Int32 | Array(RecType) Proc(NamedTuple(value: Int32 | RecType)?).new do next {value: 1} if false Proc(NamedTuple(value: RecType)?).new {}.call end ``` produces this output: ``` Nil...
This really a small changes, so, i create a PR directly. I just copy the docs of [Ruby std-lib Dir.glob](https://ruby-doc.org/core-3.1.0/Dir.html) to here, because it more accurately. Thank you.
What's missing for the interpreter: * [x] #11159 * [x] Type promotion for variadic arguments (#11795) * [x] `Crystal::Loader` integration (#11579) * [ ] Syscalls * [x] Pending lib bindings...
First of all, some introduction to the problem. A Wasm Module can import and export functions and global variables. There are some other entities like tables and memories, but those...
```cr class Error < Exception end def yields yield end def foo yields do rescue : Error end end foo ``` Crashes with: ``` Crystal::ASTNode#dependencies cannot be nil (NilAssertionError) from...