Skip to content

Commit

Permalink
issue 8 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Feb 20, 2022
1 parent 1f3579c commit 5ece18d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugin/src/sbt-test/t1/t1/a2/src/main/scala/D2.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class D2 {
def +++(d: D2): D2 = this
}

object D2 {
def main(args: Array[String]): Unit = {
var d = new D2
d +++= d
}
}
1 change: 1 addition & 0 deletions plugin/src/sbt-test/t1/t1/test
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $ exec cat a2/src/main/scala/B2.scala
$ must-mirror before/a1/src/main/scala/B.scala a1/src/main/scala/B.scala
$ must-mirror before/a1/src/main/scala/D1.scala a1/src/main/scala/D1.scala
$ must-mirror before/a1/src/main/scala/DefaultExcludeMethods.scala a1/src/main/scala/DefaultExcludeMethods.scala
$ must-mirror before/a2/src/main/scala/D2.scala a2/src/main/scala/D2.scala
$ must-mirror before/a3/src/main/scala/A3.scala a3/src/main/scala/A3.scala

# don't delete implicits
Expand Down

0 comments on commit 5ece18d

Please sign in to comment.