Skip to content

(exit) requiring arguments when compiled #542

Description

@Retropikzel

When script is compiled, run and it constains call to exit without arguments an error is thrown:

Error: Expected at least 1 arguments to exit but received 0:

I've made an reproducable example here https://github.com/Retropikzel/cyclone-bug-reporting, but it should be quite trivial to repoduce it manually.

The example is run with:
bash exit-args.sh

R7RS says about exit on page 60:
If no argument is supplied, or if obj is #t, the exit procedure should communicate to the operating system that the program exited normally.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions