Ticket #180 (closed defect)

Opened 15 years ago

Last modified 14 years ago

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:


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

Changed 14 years ago by jaymccarthy

  • status changed from new to closed

Will be fixed in next version

Note: See TracTickets for help on using tickets.