Quinton Miller

Results 151 issues of Quinton Miller

On Discord it was asked how to obtain the starting byte index of a `Regex` match of a `String`: ```crystal str = "😂x" pattern = /x/ str.char_index_to_byte_index(str.index!(pattern)) # => 4...

kind:feature
good first issue
topic:stdlib:text

The following snippet leads to an infinite recursion: ```crystal fun foo : Int32 1 end fun foo : Int32 previous_def &+ 2 end foo # Stack overflow (e.g., infinite or...

kind:bug
topic:compiler:semantic

topic:infrastructure/ci

```crystal {{ ReferenceStorage.ancestors }} # => [Value, Object, Value, Object] {{ ReferenceStorage(Regex).ancestors }} # => [Value, Object, Value, Object] ``` This doesn't seem to be intended, or at least I...

kind:bug
topic:stdlib
topic:lang:type-system
topic:stdlib:macros

Using [1.9.0](https://github.com/crystal-lang/crystal/releases/tag/1.9.0) as an example, the files inside `crystal-1.9.0-1-linux-x86_64-bundled.tar.gz` and `crystal-1.9.0-docs.tar.gz` have an extra leading `./`, whereas `crystal-1.9.0-1-linux-x86_64.tar.gz` and `crystal-1.9.0-1-darwin-universal.tar.gz` don't: ```sh $ tar tf crystal-1.9.0-1-linux-x86_64-bundled.tar.gz | head ./ ./crystal-1.9.0-1/...

bug

The `local` keyword is not 100% portable if `/bin/sh` is indeed the Bourne Shell, or if it is an alias to ksh93 (such as on Solaris / illumos), which uses...

The official Apt repositories only serve the 3 most recent major versions, while the volunteer-built packages are incomplete and of inconsistent quality, so the best solution is to build LLVM...

kind:refactor
topic:stdlib:llvm
topic:infrastructure/ci

Resolves #3274.

kind:feature
topic:stdlib:macros

Closes #14556

breaking-change
platform:windows
kind:chore