dylan-lang/opendylan — Issue #173: No applicable method for write({<string-stream>}, #f)
Author: cgay
Created: 2012-02-02 13:25:42+00:00
State: open

Compiling the strings-test-suite library as of this commit
https://github.com/cgay/strings/commit/4f41787e8759de0c2a0df3335e4af7e14c06d854
dies with

``No applicable method, applying {: write} to {: {}, #f}.``

My hope is that you can simply checkout the code and reproduce the error. My code is full of errors, but obviously the compiler shouldn't die. Here are the last bits of output from the compiler:

...
Checking bindings in {editable {class }: strings-test-suite in /Users/cgay/dylan/projects/all/strings/tests/strings-test-suite.lid}
Performing type analysis of {editable {class }: strings-test-suite in /Users/cgay/dylan/projects/all/strings/tests/strings-test-suite.lid}
Optimizing {editable {class }: strings-test-suite in /Users/cgay/dylan/projects/all/strings/tests/strings-test-suite.lid}
Optimizing library.dylan
Optimizing strings-test-suite.dylan
A total of 176 calls were processed, and 165 of these (94%) were optimized.
Dumping conditions to strings-test-suite.log
There were 11 warnings, 26 serious warnings.
Generating code for {editable {class }: strings-test-suite in /Users/cgay/dylan/projects/all/strings/tests/strings-test-suite.lid}
Emitting heap for library.dylan
Linking library.dylan
Emitting heap for strings-test-suite.dylan

Internal error: No applicable method, applying {: write} to {: {}, #f}.
Exiting with return code -1