Carl Gay

Results 131 issues of Carl Gay

It would be useful in various automation tasks if the `dylan-compiler` command would return non-zero exit status when serious warnings are encountered. ```shell $ dylan-compiler -build testworks-run .../testworks/command-line.dylan:23.20-38: Serious warning...

Compiler Warnings

If you compile a library and see serious warnings, you don't see those warnings again when you recompile it. The only way to see the warnings again (without doing `build...

Build
Compiler

The read-line method is defined as ``` define open generic read-line (stream :: , #key on-end-of-stream) => (string-or-eof :: , newline? :: ); ``` I accidentally called it with `on-end-of-file:`...

Compiler Warnings

Using a compiler built from master on May 18, 2020, a clean build of `daytime-server` (note, **not** the one in the simple-daytime-server directory that has the same library name) works...

Compiler

`%link-target:system-internals` can infinite loop if `readlink` returns `ENOENT` or `EINVAL`, because when control reaches the end of [this `unless`](https://github.com/dylan-lang/opendylan/blob/master/sources/system/file-system/unix-file-system.dylan#L162), `link` doesn't change. `link-target` doesn't have any tests.

lib/system

It would be nice to get a warning for cases where the caller expects more values than are declared in the callee: ``` define function f () => (one-value ::...

Compiler Warnings

We need a good way to provide links between the Library Reference, Hacker Guide, Getting Started, and others, each of which is a separate Sphinx "project". [InterSphinx](http://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html) might be a...

Docs

These functions aren't documented: * link-target * directory-contents Review the export list and document what's not documented.

Docs
lib/system

https://play.opendylan.org/shared/fad09bebf972f561 ``` define function foo (n == 0) list(n) end; format-out("%=\n", foo(0)); // good format-out("%=\n", foo(1)); // bad, no warning format-out("%=\n", foo("")); // good, warning ``` So it appears there's...

Compiler Warnings

OD 2020.1, 64-bit Linux `format-out("%d", -9223372036854775808)` produces no compiler warning and outputs `#exFFFFFFFFFFFFFFFF8000000000000000`. I'm not even sure what #ex... is, but I'm pretty sure it's not a decimal number. (That...

Compiler Warnings