<commit_before>package dotty.tools
package dotc
package fromtasty

import core._
import Contexts._
import Phases.Phase
import dotty.tools.dotc.transform.Pickler

class TASTYCompiler extends Compiler {

  override def phases: List[List[Phase]] = {
    val backendPhases = super.phases.dropWhile {
      case List(_: Pickler) => false
      case _ => true
    }.tail
    List(new ReadTastyTreesFromClasses) :: backendPhases
  }

  override def newRun(implicit ctx: Context): Run = {
    reset()
    new TASTYRun(this, ctx)
  }
}
<commit_msg>Add missing pickler in TASTYCompiler<commit_after>package dotty.tools
package dotc
package fromtasty

import core._
import Contexts._
import Phases.Phase
import dotty.tools.dotc.transform.Pickler

class TASTYCompiler extends Compiler {

  override def phases: List[List[Phase]] = {
    val backendPhases = super.phases.dropWhile {
      case List(_: Pickler) => false
      case _ => true
    }.tail

    List(new ReadTastyTreesFromClasses) ::
    List(new Pickler) ::
    backendPhases
  }

  override def newRun(implicit ctx: Context): Run = {
    reset()
    new TASTYRun(this, ctx)
  }
}

{'fraction_non_alphanumeric': 0.09195402298850575, 'fraction_numerical': 0.0, 'mean_word_length': 3.620408163265306, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4667720', 'n_tokens_mistral': 371, 'n_tokens_neox': 361, 'n_words': 96}