mruby/mruby — pull request #1478 by carsonmcdonald (2013-08-16 00:31:17+00:00)
Title: Add a kind of function that takes a value

This fixes issue #1477 by checking the type before trying to cast. Also added a TypeError test.