<commit_before>/*EXPECTED
0
1
2
false
*/
mixin Enumerable.<T>  {
  abstract function each(f: (T) -> void): void;
  function forall(pred: (T) -> boolean): boolean {
    var result = true;
    this.each((x) -> {
      if (result && !pred(x)) {
        result = false;
      }
    });
    return false;
  }
}
class ArrayWrapper.<T> implements Enumerable.<T> {
  var _xs: T[];
  function constructor(xs: T[]) {
    this._xs = xs;
  }
  override function each(f: (T) -> void): void {
    for (var x in this._xs) f(x);
  }
}
class _Main {
  static function main(args : string[]): void {
    var xs = new ArrayWrapper.<number>([1, 2, 3]);
    xs.each((x) -> { log x; });
    log xs.forall((x) -> x < 10);
  }
}<commit_msg>fix a bug in a test case t/run/178<commit_after>/*EXPECTED
0
1
2
true
*/
mixin Enumerable.<T>  {
  abstract function each(f: (T) -> void): void;
  function forall(pred: (T) -> boolean): boolean {
    var result = true;
    this.each((x) -> {
      if (result && !pred(x)) {
        result = false;
      }
    });
    return result;
  }
}
class ArrayWrapper.<T> implements Enumerable.<T> {
  var _xs: T[];
  function constructor(xs: T[]) {
    this._xs = xs;
  }
  override function each(f: (T) -> void): void {
    for (var x in this._xs) f(x);
  }
}
class _Main {
  static function main(args : string[]): void {
    var xs = new ArrayWrapper.<number>([1, 2, 3]);
    xs.each((x) -> { log x; });
    log xs.forall((x) -> x < 10);
  }
}
{'fraction_non_alphanumeric': 0.18607856650585802, 'fraction_numerical': 0.013094417643004824, 'mean_word_length': 2.5414634146341464, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 23, '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': '3620818', 'n_tokens_mistral': 558, 'n_tokens_neox': 538, 'n_words': 153}