<div dir="ltr"><div style>Hi, </div><div style><br></div><div style>'raco setup -l tool-name' fails for tools with only '(require drracket/too-lib)' fails with an unknown signature error[1]</div><div style>
<br></div><div style>Requiring 'drracket/tool' resolves the error, but this doesn't match the plugins documentation. (e.g. <a href="http://download.racket-lang.org/docs/5.3.6/html/tools/">http://download.racket-lang.org/docs/5.3.6/html/tools/</a> )</div>
<div><br></div><div style>I don't know if this is a documentation error, a bug, or if I have just mis-read the documentation. I've included a sample of my code [2].</div><div style><br></div><div style>[1] unknown signature error<br>
</div><div style>raco setup: --- summary of errors ---</div><div>raco setup: error: during making for <collects>/get-defns (get-defns)</div><div>raco setup: collects/get-defns/tool.rkt:13:12: unit: unknown signature</div>
<div>raco setup: at: drracket:tool^</div><div>raco setup: in: (unit (import drracket:tool^) (export drracket:tool-exports^) (define (phase1) (void)) (define (phase2) (void)) (define-local-member-name update-counts get-counts-txt) (define tab-mixin (mixin (drracket:unit:tab<%>) () (define txt (new text%)) (define/p...</div>
<div>raco setup: context...:</div><div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-compiletime.rkt:343:0: process-import/export</div><div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-compiletime.rkt:323:0: process-tagged-import/export</div>
<div>raco setup: /Applications/Racket v5.90.0.9/collects/racket/private/unit-utils.rkt:113:2</div><div><br></div><div><br></div><div style>[2]example code</div><div style><br></div><div style><div>#lang racket/gui</div>
<div>(require drracket/tool </div><div> drracket/tool-lib</div><div> string-constants</div><div> framework)</div><div>(provide tool@)</div><div>(define tool@</div><div> (unit</div><div> (import drracket:tool^)</div>
<div> (export drracket:tool-exports^)</div><div> (define (phase1) (void))</div><div> (define (phase2) (void))</div><div> </div><div> (define-local-member-name update-counts get-counts-txt)</div></div><div><br>
</div>Kind regards, <div><br></div><div>Stephen<br clear="all"><div><div dir="ltr"><br></div><div dir="ltr">--<br><a href="http://www.degabrielle.name/stephen" target="_blank">Stephen De Gabrielle</a><div><br></div></div>
</div>
</div></div>