Skip to content

Conversation

@lugray
Copy link
Contributor

@lugray lugray commented Dec 17, 2025

An empty lisp file currently results in

compile error: `do` expected at least 1 argument; found 0

Traceback:

  In main, define __shadowenv__900_rx_dev_yaml_env.lisp
  In main, operator do
    (do)

on shadowenv hook.

While an empty lisp file is not particularly useful, it shouldn't break shadowenv. By adding an empty () before the actual content, we ensure the program we create is valid, without changing the behaviour of any lisp file that has content.

An empty lisp file currently results in

```
compile error: `do` expected at least 1 argument; found 0

Traceback:

  In main, define __shadowenv__900_rx_dev_yaml_env.lisp
  In main, operator do
    (do)
```

on `shadowenv hook`.

While an empty lisp file is not particularly useful, it shouldn't break
shadowenv. By adding an empty `()` before the actual content, we ensure
the program we create is valid, without changing the behaviour of any
lisp file that has content.
@lugray lugray requested a review from burke as a code owner December 17, 2025 20:46
@lugray
Copy link
Contributor Author

lugray commented Jan 9, 2026

@burke Has this perhaps fallen off your radar because it was opened while you were on holiday?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant