Skip to content

Commit

Permalink
scripted source-dependencies/java-class-inv
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Sep 6, 2020
1 parent 21c73c9 commit dab5c35
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package pkg

object App extends Std with LibIntf
18 changes: 18 additions & 0 deletions zinc/src/sbt-test/source-dependencies/java-class-invs/build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"projects": [
{
"name": "app",
"dependsOn": [ "std", "lib" ],
"scalaVersion": "2.13.3"
},
{
"name": "lib",
"dependsOn": [ "std" ],
"scalaVersion": "2.13.3"
},
{
"name": "std",
"scalaVersion": "2.13.3"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package pkg

trait Std {
def x = 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package pkg;

interface LibIntf {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package pkg

class LibUtil extends Std
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package pkg

trait Std
5 changes: 5 additions & 0 deletions zinc/src/sbt-test/source-dependencies/java-class-invs/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
> app/compile

$ copy-file changes/Std.scala std/Std.scala

> app/compile

0 comments on commit dab5c35

Please sign in to comment.