PasteRack.org | ||
Paste # 83688 | ||
2017-10-13 18:38:22 | ||
Forked from paste # 66801. | ||
Fork as a new paste. | ||
Paste viewed 106 times. | ||
Tweet | ||
Embed: | ||
=>
draw-path: contract violation
expected: (is-a?/c dc-path%)
given: 0
in: the 1st argument of
(->*m
((is-a?/c dc-path%))
(real? real? (or/c 'odd-even 'winding))
void?)
contract from: (class bitmap-dc%)
blaming: <pkgs>/pict-lib/pict/main.rkt
(assuming the contract is correct)