Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pmc2c] add method arity check - GH #1080
on method calls without optional args do one arity check, with the new exception message: "wrong number of arguments: %d passed, %d expected" Matching the old exception message too many/few would require two run-time checks, which costs ~2% in parrot-bench. fixes t/pmc/class.t
- Loading branch information
Reini Urban
committed
Jun 29, 2014
1 parent
1b0e293
commit 54edbee
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters