#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 type
string', but where given an argument of type `boolean'
(This is wrong anyway. Unit extras format allows boolean here.)
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Component: | unknown → core tools |
---|---|
Keywords: | scrutiny format added |
comment:3 Changed 14 years ago by
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
format
in types.db is indeed wrong, thanks for pointing that out.