2 use warnings FATAL => 'all';
3 use Test::More tests => 1;
8 use Function::Parameters qw(:strict);
12 method callstack_inner($class:) {
13 return Carp::longmess("Callstack is");
16 method callstack($class:) {
17 return $class->callstack_inner;
21 my $callstack = TestClass->callstack();
23 unlike $callstack, qr/Test::Class::.*?__ANON__/, "No anon methods in call chain";