mauke / Function-Parameters

Function::Parameters - define functions and methods with parameter lists ("subroutine signatures")
https://metacpan.org/pod/Function::Parameters
18 stars 19 forks source link

Line numbers broken by typed parameter #42

Closed falsifian closed 1 year ago

falsifian commented 1 year ago

Running this three-line perl program:

use Function::Parameters { fun => { reify_type => 'moose' } };
fun f( Num $x ) { }
die;

produces Died at f.pl line 8..

This is perl 5.36 on OpenBSD current. EDIT: and Function::Parameters 2.002002.