-
This may be related to #12472 but I wasn't positive, so I'm creating a new bug report just in case.
Below causes a compiler bug error:
```
def call_proc(pr : Proc(String, Nil) | Proc(String, Stri…
-
Meanwhile `GLib::String` must be transparent for Crystal users, i.e. translated to Crystal strings.
-
It is possible to bind to the same C symbol from two lib funs, as long as their signatures are compatible:
```crystal
lib A
fun foo(x : Int32) : Void*
end
lib B
fun foo(x : Int32) : Void…
-
https://play.crystal-lang.org/#/r/7858
```crystal
module Assertion
abstract def valid? : Bool
end
class Validator
def initialize : Nil
([] of Assertion).reject(&.valid?)
end
en…
-
Dear @crystal-lang team,
In first, I wish you a Happy New Year!
---------------------------
Note: @naqvis has already worked on a part here: https://github.com/naqvis/cr-xmpp
I think that he c…
-
**Is your enhancement request related to a problem? Please describe.**
Yes, lsquic causes a lot of signal 11 killed errors, so I thought this would be worth a shot to fix the issue
**D…
-
## 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…
-
Unexposed enums in _struct_ fields lead to generation of bindings with _Void_ as field's type.
As _struct_'s fields cannot have the _Void_ type, the generated binding is broken.
To reproduce:
```…
olbat updated
4 years ago
-
Could a standalone image example be added to demonstrate the view-image functionality?
I know it is possible because ruby libui does it. Would be nice to have copy/paste-able code
in crystal as-is…
-
I recently stumbled upon a tool called [hsc2hs](https://downloads.haskell.org/~ghc/7.6.3/docs/html/users_guide/hsc2hs.html): it's a template language for Haskell to easy writing C bindings.
## How …