-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c52215
commit 9f63042
Showing
4 changed files
with
12 additions
and
28 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
zinc/src/sbt-test/source-dependencies/default-namespace-implicit/Bar.scala
This file was deleted.
Oops, something went wrong.
14 changes: 5 additions & 9 deletions
14
zinc/src/sbt-test/source-dependencies/default-namespace-implicit/Foo.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
import sbt.zinc.example._ | ||
|
||
class Foo(implicit bar: Bar) { | ||
def show = println(bar.x) | ||
} | ||
import sbt.zinc.example.Baz | ||
// Adding the below import makes issue to changes/Foo.scala and Foo.scala make issue go away | ||
// import `package`.b | ||
class Foo(implicit baz: Baz) | ||
|
||
object Foo { | ||
def main = { | ||
val f = new Foo | ||
f.show | ||
} | ||
val f = new Foo | ||
} |
15 changes: 6 additions & 9 deletions
15
zinc/src/sbt-test/source-dependencies/default-namespace-implicit/changes/Foo.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
import sbt.zinc.example._ | ||
|
||
class Foo(implicit bar: Bar) { | ||
def show = println(bar.x) | ||
} | ||
import sbt.zinc.example.Baz | ||
// Adding the below import makes issue to changes/Foo.scala and Foo.scala make issue go away | ||
// import `package`.b | ||
class Foo(implicit baz: Baz) | ||
|
||
object Foo { | ||
def main = { | ||
val f = new Foo | ||
f.show | ||
} | ||
val f = new Foo | ||
} | ||
|
||
|
||
// Random Placeholder comment to let Zinc detect that Foo has changed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters