<commit_before>use v6;

use Test;

plan 14;

# L<S12/"Calling sets of methods"/"Any method can defer to the next candidate method in the list">

# Simple test, making sure callwith passes on parameters properly.
class A {
    method a(*@A) {
        (self.perl, @A)
    }
}
class B is A {
    method a() {<commit_msg>Add explicit flat() to defer-call.t<commit_after>use v6;

use Test;

plan 14;

# L<S12/"Calling sets of methods"/"Any method can defer to the next candidate method in the list">

# Simple test, making sure callwith passes on parameters properly.
class A {
    method a(*@A) {
        flat (self.perl, @A)
    }
}
class B is A {
    method a() {
{'fraction_non_alphanumeric': 0.11195158850226929, 'fraction_numerical': 0.015128593040847202, 'mean_word_length': 3.0864197530864197, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2097703', 'n_tokens_mistral': 232, 'n_tokens_neox': 220, 'n_words': 89}