topazproject/topaz — pull request #718 by krekoten (2013-05-20 10:23:43+00:00)
Title: Proc#call when self is lambda

Specs fixed:

Proc#call on a Proc created with Kernel#lambda or Kernel#proc
- raises an ArgumentError on excess arguments when self is a lambda
- raises an ArgumentError on missing arguments when self is a lambda

Proc#=== on a Proc created with Kernel#lambda or Kernel#proc
- raises an ArgumentError on excess arguments when self is a lambda
- raises an ArgumentError on missing arguments when self is a lambda

Proc#[] on a Proc created with Kernel#lambda or Kernel#proc
- raises an ArgumentError on excess arguments when self is a lambda
- raises an ArgumentError on missing arguments when self is a lambda

Proc#yield on a Proc created with Kernel#lambda or Kernel#proc
- raises an ArgumentError on excess arguments when self is a lambda
- raises an ArgumentError on missing arguments when self is a lambda