Fix Kernel#loop
Merge pull request #635 from kachick/fix-kernel-loop

Fix Kernel#loop