Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #431 from scalacenter/issue-127
Fix #127: Use unexpanded names
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
zinc/src/sbt-test/source-dependencies/unexpanded-names/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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class Fooo { | ||
// This one is problematic because of expanded names | ||
private[Fooo] object Bar | ||
} | ||
|
||
package issue127 { | ||
class Foo { | ||
private[Foo] object Bar | ||
class Baz { | ||
private[Baz] object Bazz | ||
} | ||
} | ||
|
||
object Foo { | ||
private[issue127] class Bippy | ||
// This one is problematic because of expanded names | ||
private[issue127] object Bippy | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# See https://github.com/sbt/zinc/issues/127 | ||
> compile |