Skip to content

Commit

Permalink
Annotate errors for @odersky
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmulder committed Jul 4, 2017
1 parent 8c087b0 commit 4be253b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/run/LazyValsLongs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ object Test {
A17,
A18)
assert(l1.mkString == l2.mkString)
assert(!l1.contains(null))
assert(!l1.contains(null)) // @odersky - 2.12 encoding seems wonky here as well
}
}
2 changes: 1 addition & 1 deletion tests/run/unittest_collection.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ object Test {
def main(args: Array[String]): Unit = {
test(collection.mutable.ArrayBuffer[String]())
test(collection.mutable.ListBuffer[String]())
class BBuf(z:ListBuffer[String]) extends BufferProxy[String] {
class BBuf(z:ListBuffer[String]) extends BufferProxy[String] { // @odersky - bug here in scala 2.12 trait encoding seems like...
def self = z
}
test(new BBuf(collection.mutable.ListBuffer[String]()))
Expand Down

0 comments on commit 4be253b

Please sign in to comment.