<commit_before>package groovy.bugs

import groovy.transform.NotYetImplemented
import groovy.transform.stc.StaticTypeCheckingTestCase

class Groovy6804Bug extends StaticTypeCheckingTestCase {

    @NotYetImplemented
    void testOverloadedMethod() {
        assertScript '''
            class Base<K extends Serializable, V> {
                void delete(K key) {}
                
                void delete(V value) {}
            }
            class Foo extends Base<String, Integer> {
            }
            public class Class1 {
            
            public static void main(String[] args){
              
            }
            
                Class1() {
                    Foo foo = new Foo();
                    
                    foo.delete(1);
                }
            }
            new Class1();
        '''
    }

}<commit_msg>GROOVY-6804 cleaning<commit_after>package groovy.bugs

import groovy.transform.NotYetImplemented
import groovy.transform.stc.StaticTypeCheckingTestCase

class Groovy6804Bug extends StaticTypeCheckingTestCase {

    @NotYetImplemented
    void testOverloadedMethod() {
        assertScript '''
            class Base<K extends Serializable, V> {
                void delete(K key) {}
                
                void delete(V value) {}
            }

            class Foo extends Base<String, Integer> {}

            public class Class1 {
                Class1() {
                    Foo foo = new Foo();
                    
                    foo.delete(1);
                }
            }
            new Class1();
        '''
    }

}
{'fraction_non_alphanumeric': 0.07538940809968847, 'fraction_numerical': 0.012461059190031152, 'mean_word_length': 1.2715700141442716, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3736191', 'n_tokens_mistral': 431, 'n_tokens_neox': 381, 'n_words': 88}