<commit_before>import ceylon.language.meta.model { Attribute }
import ceylon.language.meta { type }

class Bug303() {
    shared variable String? nome = "Diego";
}
void bug303() {
    value a = `Bug303`;

    value attributeA = a.getAttribute<Bug303, String?>("nome");
    print(type(attributeA));
    assert( is Attribute<Bug303, String?> attributeA); //works fine

    value attributeB = a.getAttribute<>("nome");
    print(type(attributeB));<commit_msg>metamodel tests: removed some output<commit_after>import ceylon.language.meta.model { Attribute }
import ceylon.language.meta { type }

class Bug303() {
    shared variable String? nome = "Diego";
}
void bug303() {
    value a = `Bug303`;

    value attributeA = a.getAttribute<Bug303, String?>("nome");
    assert( is Attribute<Bug303, String?> attributeA); //works fine

    value attributeB = a.getAttribute<>("nome");
{'fraction_non_alphanumeric': 0.14253135689851767, 'fraction_numerical': 0.03420752565564424, 'mean_word_length': 4.386503067484663, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7122806', 'n_tokens_mistral': 299, 'n_tokens_neox': 267, 'n_words': 69}