<commit_before>import ceylon.language.metamodel { ... }

Null table(String name, String schema) { return null; }
Null persistent(String column, Anything type, Boolean update) { return null; }

class Annotations() {
    
    void print("the thing to print" String text) {}
    
    deprecated void noop() {}
    
    "A class"
    by ("<NAME>",
        "<NAME>")
    class Class() {}
    
    see (Class, Annotations)
    void accept(Class c) {}
    
    class TrimmedString() {}
    
    table { name = "people"; 
            schema = "my"; }
    class Person() {
        
        persistent { column = "fullName";
                     update = true;
                     type = TrimmedString; }
        shared String name = "<NAME>";
        
    }
    
    @error print ("hello") class Broken() {}
    
    class TypeDescription(String desc) 
        satisfies OptionalAnnotation<TypeDescription,Type<Object>> {}
    
    class SequencedDescription(String desc) 
        satisfies SequencedAnnotation<SequencedDescription,Annotated> {}

    //temporary errors until we got metatypes done 
    @error Type<Annotations> at = Annotations;
    @error Type<TypeDescription> tdt = TypeDescription;
    @error Type<SequencedDescription> sdt = SequencedDescription;
    TypeDescription? d = annotations<TypeDescription,TypeDescription?,Type<Object>>(tdt, at);
    SequencedDescription[] ds = annotations<SequencedDescription,SequencedDescription[],Type<Object>>(sdt, at);
    
}<commit_msg>tests: fixed the Annotations test :)<commit_after>import ceylon.language.metamodel { ... }

Null table(String name, String schema) { return null; }
Null persistent(String column, Anything type, Boolean update) { return null; }

class Annotations() {
    
    void print("the thing to print" String text) {}
    
    deprecated void noop() {}
    
    "A class"
    by ("<NAME>",
        "<NAME>")
    class LocalClass() {}
    
    see (LocalClass, Annotations)
    void accept(LocalClass c) {}
    
    class TrimmedString() {}
    
    table { name = "people"; 
            schema = "my"; }
    class Person() {
        
        persistent { column = "fullName";
                     update = true;
                     type = TrimmedString; }
        shared String name = "<NAME>";
        
    }
    
    @error print ("hello") class Broken() {}
    
    annotation class TypeDescription(String desc) 
        satisfies OptionalAnnotation<TypeDescription,Annotated> {}
    
    annotation class SequencedDescription(String desc) 
        satisfies SequencedAnnotation<SequencedDescription,Annotated> {}

    //temporary errors until we got metatypes done 
    Class<Annotations,[]> at = `Annotations`;
    Class<TypeDescription,[String]> tdt = `TypeDescription`;
    Class<SequencedDescription,[String]> sdt = `SequencedDescription`;
    
    TypeDescription? d = annotations<TypeDescription,TypeDescription?,Annotated>(tdt, at.declaration);
    SequencedDescription[] ds = annotations<SequencedDescription,SequencedDescription[],Annotated>(sdt, at.declaration);
}
{'fraction_non_alphanumeric': 0.11173001310615989, 'fraction_numerical': 0.0, 'mean_word_length': 2.840251572327044, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, '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': '3387204', 'n_tokens_mistral': 843, 'n_tokens_neox': 831, 'n_words': 214}