Carl Gay

Results 131 issues of Carl Gay

The following is copied directly from Day 3 of @toshok's https://github.com/toshok/aoc2020/blob/main/diary.md. The only thing I would add is that this is somewhat surprising because we get good warnings for matching...

Compiler Warnings
Usability

OD 2021.1pre, x86_64-linux ``` cd $OD/sources && dylan-compiler -build apple-dylan-test-suite-app ... /home/cgay/dylan/workspaces/od/opendylan/sources/dylan/apple-dylan-test-suite/test-intro-mop.dylan:39.3-42.25: Warning - The binding set-limit is defined but not referenced or exported. ------------------------------ 39 class slot limit ::...

Compiler

https://play.opendylan.org/shared/a2f00e2c85f0806b shows some quicksort code with two definitions of ``, one commented out. If you run it both ways you'll see that when `` is the limited type the code...

Compiler
Performance

OD 2020.1 ``` define function f () => () end; let x = f(); format-out("%=\n", x); ``` ==> `#f` I think there could/should be a warning because `x` is never...

Compiler Warnings

It is currently documented to be part of [io:streams](https://opendylan.org/documentation/library-reference/io/streams.html?#io:streams:with-open-file) but it is exported from [system:file-system](https://github.com/dylan-lang/opendylan/blob/master/sources/system/file-system/file-stream.dylan#L21).

Easy
Docs
Usability

The `if-does-not-exist:` keyword argument to `open-file-stream` and `make()` is [documented](https://opendylan.org/documentation/library-reference/io/streams.html#options-when-creating-file-streams) to accept `#f` as a possible value, meaning "no action". 1. What "no action" means needs to be documented better,...

Docs
lib/system

`let x = #[/* // */];` yields `Serious warning - Unexpected end of input encountered while reading form.`

Compiler

OD 2020.1, x86_64-linux, llvm `log(0.0)` goes into an infinite loop.

transcendentals, math `log` is documented to accept `` but in fact only has methods for floats. This means that `logn` doesn't work on integers either since it just calls `log`....

From the example backtrace I'm about to add to the getting-started-cli doc: ``` (lldb) dylan-bt frame #1 invoke-debugger 0x007ffff7d43da9 libdylan.so at boot.dylan:1041 frame #3 default-handler 0x007ffff7d52bc2 libdylan.so at condition.dylan:140 frame...

lldb