Skip to content

Commit

Permalink
Fix scala#9200: Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
griggt committed Apr 26, 2021
1 parent c30fc8e commit 39e058f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sbt-dotty/sbt-test/java-compat/i9200/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
scalaVersion := sys.props("plugin.scalaVersion")
compileOrder := CompileOrder.ScalaThenJava
1 change: 1 addition & 0 deletions sbt-dotty/sbt-test/java-compat/i9200/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % sys.props("plugin.version"))
1 change: 1 addition & 0 deletions sbt-dotty/sbt-test/java-compat/i9200/src/main/java/J.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
class J { T.O$ o; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trait T { object O }
1 change: 1 addition & 0 deletions sbt-dotty/sbt-test/java-compat/i9200/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> compile

0 comments on commit 39e058f

Please sign in to comment.