anchor.diff:    void read();
   
     void interpret(String value) {
  -    dev = value.endsWith(kDev);
  -    if (dev)
  +    level = value.endsWith(kDev) ? VersionKind.dev : VersionKind.release;
  +    if (level == VersionKind.dev)
         value = value.substring(0, value.length - kDev.length);
       version.addAll(value.split('.').map<int>(int.parse));
     }
  
positive.code: const String kYamlVersionPrefix = 'version: ';
  const String kDev = '-dev';
  
  void main(List<String> args) {
    // If we're run from the `tools` dir, set the cwd to the repo root.
    if (path.basename(Directory.current.path) == 'tools')
  
negative.code:   final List<int> version = <int>[];
  
    @protected
    VersionKind level;
  
    @protected
    bool dirty = false;
  