Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the State-Machine CPAN distribution.

Report information
The Basics
Id: 121317
Status: open
Priority: 0/
Queue: State-Machine

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: (no value)



Subject: Tests fail (with Function::Parameters 2.x?)
The test suite fails with compilation errors: ... In method _build_message: I was expecting a parameter list, not "{" at /home/cpansand/.cpan/build/2017042315/State-Machine-0.07-CopLBs/blib/lib/State/Machine/Failure/Transition/Execution.pm line 19. Compilation failed in require at /home/cpansand/.cpan/build/2017042315/State-Machine-0.07-CopLBs/blib/lib/State/Machine.pm line 6. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017042315/State-Machine-0.07-CopLBs/blib/lib/State/Machine.pm line 6. Compilation failed in require at t/state/machine.t line 5. BEGIN failed--compilation aborted at t/state/machine.t line 5. t/state/machine.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ... (etc.) ... Statistical analysis suggests that this happens with Function::Parameters 2.x (theta=-1 means "bad"): **************************************************************** Regression 'mod:Function::Parameters' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 28603516343359168.00 [1='eq_1.0402'] 0.0000 0.0000 1.54 [2='eq_1.0602'] 0.0000 0.0000 0.42 [3='eq_1.0603'] 0.0000 0.0000 0.42 [4='eq_1.0604'] 0.0000 0.0000 2.12 [5='eq_1.0605'] 0.0000 0.0000 0.98 [6='eq_1.0701'] -0.0000 0.0000 -0.58 [7='eq_1.0702'] -0.0000 0.0000 -0.85 [8='eq_1.0703'] 0.0000 0.0000 0.42 [9='eq_1.0704'] 0.0000 0.0000 0.94 [10='eq_1.0705'] -0.0000 0.0000 -2.58 [11='eq_2.000002'] -1.0000 0.0000 -16922068476450664.00 [12='eq_2.000003'] -1.0000 0.0000 -10444527416816998.00 [13='eq_2.000006'] -1.0000 0.0000 -23891632482964272.00 R^2= 1.000, N= 103, K= 14 ****************************************************************
RT-Send-CC: MAUKE [...] cpan.org
On 2017-04-23 11:52:41, SREZIC wrote: Show quoted text
> The test suite fails with compilation errors: > > ... > In method _build_message: I was expecting a parameter list, not "{" at > /home/cpansand/.cpan/build/2017042315/State-Machine-0.07- > CopLBs/blib/lib/State/Machine/Failure/Transition/Execution.pm line 19. > Compilation failed in require at > /home/cpansand/.cpan/build/2017042315/State-Machine-0.07- > CopLBs/blib/lib/State/Machine.pm line 6. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2017042315/State-Machine-0.07- > CopLBs/blib/lib/State/Machine.pm line 6. > Compilation failed in require at t/state/machine.t line 5. > BEGIN failed--compilation aborted at t/state/machine.t line 5. > t/state/machine.t ............. > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ... (etc.) ... > > Statistical analysis suggests that this happens with > Function::Parameters 2.x (theta=-1 means "bad"): > > **************************************************************** > Regression 'mod:Function::Parameters' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 28603516343359168.00 > [1='eq_1.0402'] 0.0000 0.0000 1.54 > [2='eq_1.0602'] 0.0000 0.0000 0.42 > [3='eq_1.0603'] 0.0000 0.0000 0.42 > [4='eq_1.0604'] 0.0000 0.0000 2.12 > [5='eq_1.0605'] 0.0000 0.0000 0.98 > [6='eq_1.0701'] -0.0000 0.0000 -0.58 > [7='eq_1.0702'] -0.0000 0.0000 -0.85 > [8='eq_1.0703'] 0.0000 0.0000 0.42 > [9='eq_1.0704'] 0.0000 0.0000 0.94 > [10='eq_1.0705'] -0.0000 0.0000 -2.58 > [11='eq_2.000002'] -1.0000 0.0000 > -16922068476450664.00 > [12='eq_2.000003'] -1.0000 0.0000 > -10444527416816998.00 > [13='eq_2.000006'] -1.0000 0.0000 > -23891632482964272.00 > > R^2= 1.000, N= 103, K= 14 > ****************************************************************
Cc to MAUKE
On Sun Apr 23 11:53:28 2017, SREZIC wrote: Show quoted text
> > Cc to MAUKE
As described in https://metacpan.org/pod/Function::Parameters#Incompatibilites-with-version-1-of-Function::Parameters, you'd have to write 'method foo(@) { ... }' instead of 'method foo { ... }' (and/or import ":lax"). (I can't actually test a patch because one of the prerequisites (Bubblegum) is failing its tests and doesn't install.)