Ticket #180 (closed defect)

Opened 6 years ago

Last modified 5 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: 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

Changed 5 years ago by jaymccarthy

  • status changed from new to closed

Will be fixed in next version

Note: See TracTickets for help on using tickets.