Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 2 undefined bindings #1344

Merged
merged 2 commits into from
Oct 14, 2020
Merged

Conversation

pierredepascale
Copy link
Contributor

As already mentioned on gitter here is a fix for 2 undefined bindings that popup
when compiling the DUIM life example on Windows 10 with the latest 2020.1 release:

  1. undefined binding format-to-string solved by use simple-format added to
    module definition

  2. undefined binding rest in the whelp.dylan win32 DUIM backend. Maybe a
    Common Lisp vs Dylan 0versight.

The module definition of life is missing the use of module
simple-formating to get access to the method format-to-string.

The application then crashes when you run it and click on the board
to set the starting state of the game.

Adding the use of module simple-format in the module definition of
life solves the issue.
The DUIM file whelp.dylan calls the undefined binding rest
to get to the tail of a list. It is replaced by a call to
the tail method on <list>.

This suppresses the warning "undefined binding..." when
compiling the DUIM sources code.
@housel housel merged commit 2fbfdf3 into dylan-lang:master Oct 14, 2020
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.

2 participants