diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-08-08 08:43:32 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-08-08 08:43:32 -0700 |
commit | 7d3b2de7b52fec492bc63296d5adf076f68faf0a (patch) | |
tree | 420a9422126ac8891c7a796417899493192520b0 /test/files/neg/t5687.check | |
parent | ca9831e4f42abf24cc5c14a972fe40a08c4fc569 (diff) | |
parent | 95b36489829c12eb323e6252a28bbf54b27b9977 (diff) | |
download | scala-7d3b2de7b52fec492bc63296d5adf076f68faf0a.tar.gz scala-7d3b2de7b52fec492bc63296d5adf076f68faf0a.tar.bz2 scala-7d3b2de7b52fec492bc63296d5adf076f68faf0a.zip |
Merge pull request #1087 from hubertp/2.10.x-issue/5687
Fixes SI-5687.
Diffstat (limited to 'test/files/neg/t5687.check')
-rw-r--r-- | test/files/neg/t5687.check | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/t5687.check b/test/files/neg/t5687.check new file mode 100644 index 0000000000..5096077ee5 --- /dev/null +++ b/test/files/neg/t5687.check @@ -0,0 +1,8 @@ +t5687.scala:4: error: type arguments [T] do not conform to class Template's type parameter bounds [T <: AnyRef] + type Repr[T]<:Template[T] + ^ +t5687.scala:20: error: overriding type Repr in class Template with bounds[T] <: Template[T]; + type Repr has incompatible type + type Repr = CurveTemplate[T] + ^ +two errors found |