Skip to content
Snippets Groups Projects
  • Natalie Weizenbaum's avatar
    Clean up the semantics of package descriptions. · a69f0c9c
    Natalie Weizenbaum authored
    This folds the distinction between "resolved" and "unresolved"
    descriptions into the distinction between PackageIds and PackageRefs. In
    other words, all PackageIds now have resolved descriptions and all
    PackageRefs now have unresolved descriptions. This makes it easier to
    track which descriptions are resolved and express resolution constraints
    via the type system.
    
    This also restricts the creation of PackageRefs and PackageIds to source
    classes, which helps ensure that the description format—which is an
    implementation detail—doesn't leak into surrounding code.
    
    R=rnystrom@google.com
    
    Review URL: https://codereview.chromium.org//1528523003 .
    a69f0c9c