Ticket #21 (closed defect: fixed)

Opened 13 months ago

Last modified 5 months ago

require doesn't throw LoadError

Reported by: defunkt Owned by: why
Milestone: Raisins Keywords:
Cc:

Description

It seems that calling require on a nonexistant file ruins poor Shoes.

Take this piece of code:

begin require 'rubygems'; rescue LoadError; end

Perfectly defensive, yet Shoes gives this error:

wrong argument type FalseClass (expected Proc)
* (eval)

Loving this little toolkit!

Change History

Changed 13 months ago by defunkt

(This is OSX btw.)

Changed 6 months ago by why

  • owner set to why
  • status changed from new to assigned
  • milestone set to Raisins

Changed 5 months ago by why

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.