#306 closed defect (fixed)
Built-in binding still partially active due to -scrutinize
| Reported by: | Kon Lovett | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | core tools | Version: | 4.5.x |
| Keywords: | scrutiny format | Cc: | |
| Estimated difficulty: |
Description
In source: (import ... no unit extras ... (only format-compiler-base format) ...)
Compiler generates:
Warning: in local procedure `error-depends',
in local procedure `resolve-unit',
in local procedure `body685',
in toplevel procedure `simple-units#*make-units':
format: in procedure call toformat', expected argument #1 of typestring', but where given an argument of type `boolean'
(This is wrong anyway. Unit extras format allows boolean here.)
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Component: | unknown → core tools |
|---|---|
| Keywords: | scrutiny format added |
comment:3 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
I have opened a new ticket for the problematic import of format in format-compiler-base (#336).
Note:
See TracTickets
for help on using tickets.

Somehow "format" gets expanded into the core "format", not "format-compiler-base#format" (which, I think it should). Superficially analysing this a quick stab at a solution seems to me not to import "extras" in "format-compiler-base" (or at least use
(except extras format)), as this will overwrite the imported binding offormat.If that doesn't help, I'll go hunting.
The entry for
formatin types.db is indeed wrong, thanks for pointing that out.