summaryrefslogtreecommitdiff
path: root/test/files/neg/t5578.check
blob: 56123d2e0f2c38d5129e18add7c3caf2b91ad5ad (plain) (blame)
1
2
3
4
5
6
7
t5578.scala:33: error: type mismatch;
 found   : NumericOpsExp.this.Plus[T]
 required: NumericOpsExp.this.Rep[T]
    (which expands to)  NumericOpsExp.this.Exp[T]
  def plus[T: Numeric](x: Rep[T], y: Rep[T]): Rep[T] = Plus[T](x,y)
                                                              ^
one error found