Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
Previous comment was referring to some implementation details that are
not used anymore. Remove and specify what the phase actually does.
  • Loading branch information
jvican committed Feb 17, 2017
1 parent 035c046 commit 3f09fd5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/compiler-bridge/src/main/scala/xsbt/Dependency.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,11 @@ object Dependency {
/**
* Extracts dependency information from each compilation unit.
*
* This phase uses CompilationUnit.depends and CallbackGlobal.inheritedDependencies
* to collect all symbols that given compilation unit depends on. Those symbols are
* guaranteed to represent Class-like structures.
*
* The CallbackGlobal.inheritedDependencies is populated by the API phase. See,
* ExtractAPI class.
* This phase detects all the dependencies both at the term and type level.
*
* When dependency symbol is processed, it is mapped back to either source file where
* it's defined in (if it's available in current compilation run) or classpath entry
* where it originates from. The Symbol->Classfile mapping is implemented by
* where it originates from. The Symbol -> Classfile mapping is implemented by
* LocateClassFile that we inherit from.
*/
final class Dependency(val global: CallbackGlobal) extends LocateClassFile with GlobalHelpers {
Expand Down

0 comments on commit 3f09fd5

Please sign in to comment.