<commit_before>import haxe.rtti.Meta;

@author("Nicolas")
@debug
class MyClass {
  @range(1, 8)
  var value:Int;

  @broken
  @:noCompletion
  static function method() { }
}

class Test {
  static public function main() {
    // { author : ["Nicolas"], debug : null }
    trace(Meta.getType(MyClass));
    // [1,8]
    trace(Meta.getFields(MyClass).value.range);
    // { broken: null }
    trace(Meta.getStatics(MyClass).method);
  }
}<commit_msg>fix "Metadata" example<commit_after>import haxe.rtti.Meta;

@author("Nicolas")
@debug
class MyClass {
  @range(1, 8)
  var value:Int;

  @broken
  @:noCompletion
  static function method() { }
    
  public function new() { value = 0; }
}

class Test {
  static public function main() {
    var value = new MyClass();
    var meta = Meta.getType(MyClass);
    // { author : ["Nicolas"], debug : null }
    trace(Std.string(meta));
    // [1,8]
    trace(Meta.getFields(MyClass).value.range);
    // { broken: null }
    trace(Std.string(Meta.getStatics(MyClass).method));
  }
}
{'fraction_non_alphanumeric': 0.16585365853658537, 'fraction_numerical': 0.00878048780487805, 'mean_word_length': 3.2572614107883817, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5287410', 'n_tokens_mistral': 374, 'n_tokens_neox': 361, 'n_words': 76}