<commit_before>//
//  RType.swift
//  DITranquillity
//
//  Created by <NAME> on 10/06/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

class RType: RTypeBase {
  typealias MethodKey = String

  #if ENABLE_DI_MODULE
  init(typeInfo: DITypeInfo, modules: [DIModuleType]) {
    self.modules = modules
    super.init(typeInfo: typeInfo)
  }
  
  func copyFinal(protocols: [RType]) -> RTypeFinal {
    return RTypeFinal(typeInfo: typeInfo,
      inModules: modules,
      outModules: modules + protocols.flatMap{ $0.modules },
      initials: self.initials,
      injections: self.injections + (postInit.map{ [$0] } ?? []), /// append post init to end
      names: self.names,
      isDefault: self.isDefault,
      lifeTime: self.lifeTime)
  }
  
  var modules: [DIModuleType]
  
  #else
  
  func copyFinal() -> RTypeFinal {
    return RTypeFinal(typeInfo: typeInfo,
                      initials: self.initials,
                      injections: self.injections,
                      names: self.names,
                      isDefault: self.isDefault,
                      lifeTime: self.lifeTime)<commit_msg>fix build<commit_after>//
//  RType.swift
//  DITranquillity
//
//  Created by <NAME> on 10/06/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

class RType: RTypeBase {
  typealias MethodKey = String

  #if ENABLE_DI_MODULE
  init(typeInfo: DITypeInfo, modules: [DIModuleType]) {
    self.modules = modules
    super.init(typeInfo: typeInfo)
  }
  
  func copyFinal(protocols: [RType]) -> RTypeFinal {
    return RTypeFinal(typeInfo: typeInfo,
      inModules: modules,
      outModules: modules + protocols.flatMap{ $0.modules },
      initials: self.initials,
      injections: self.injections + (postInit.map{ [$0] } ?? []), /// append post init to end
      names: self.names,
      isDefault: self.isDefault,
      lifeTime: self.lifeTime)
  }
  
  var modules: [DIModuleType]
  
  #else
  
  func copyFinal(protocols: [RType]) -> RTypeFinal {
    return RTypeFinal(typeInfo: typeInfo,
                      initials: self.initials,
                      injections: self.injections,
                      names: self.names,
                      isDefault: self.isDefault,
                      lifeTime: self.lifeTime)
{'fraction_non_alphanumeric': 0.11401952085181899, 'fraction_numerical': 0.01064773735581189, 'mean_word_length': 2.235294117647059, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4108763', 'n_tokens_mistral': 731, 'n_tokens_neox': 713, 'n_words': 163}