title: Copy type member field from another type member's type member
body: <pre><code>    trait Converter {
        type From
        type To
  
        def convert(input: From): To
      }
  
      object IntString extends Converter {
        override type From = Int
        override type To = String
  
        override def convert(input: Int): String = input.toString
      }
  
      object BigDecimalFloat extends Converter {
        override type From = BigDecimal
        override type To = Float
  
        override def convert(input: BigDecimal): Float = input.floatValue()
      }
  
      trait ConverterCopy {
        type originalConverter &lt;: Converter
  
        type From = originalConverter.From
        type To = originalConverter.To
  
        def convert(input: From): To
      }
  
      object IntStringCopy extends ConverterCopy {
        override type originalConverter = IntString.type
  
        override def convert(input: IntStringCopy.From): IntStringCopy.To = ???
      }
  </code></pre>
  <p>The following code does not compile with the following warning</p>
  <pre><code>[Error] not found: value originalConverter
  [Error] not found: value originalConverter
  two errors found
  
  </code></pre>
  <p>I want to copy the value of the type fields of an implementation of Convert into the type fields of an implementation of ConvertCopy.</p>
  <p>Is there any way to do this?</p>