Ticket #180 (closed defect)
contract for `open' does not match documentation
Reported by: | cobbe | Owned by: | jaymccarthy |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | jaymccarthy/sqlite.plt | Keywords: | |
Cc: | Version: | (4 1) | |
Racket Version: | 4.2.0.2 |
Description
The docs for `open' state that the function's contract is
((or/c path-string? (symbols ':memory: ':temp:)) . -> . db?)
but the contract specified by the implementation is instead
((or/c path? (symbols ':memory: ':temp:)) . -> . db?)
As a result, `open' does not accept string inputs, even though the docs claim it does.
Change History
Note: See
TracTickets for help on using
tickets.