anchor.diff:              _cleanupOldOutputs(cachedGraph),
               FailureReporter.cleanErrorCache(),
             ]);
  -          if (_runningFromSnapshot()) {
  +          if (_runningFromSnapshot) {
               throw BuildScriptChangedException();
             }
           }
  
positive.code:         _logger.warning('Invalidating asset graph due to build script update!');
          var deletedSourceOutputs = await _cleanupOldOutputs(assetGraph);
  
          if (_runningFromSnapshot()) {
            // We have to be regenerated if running from a snapshot.
            throw BuildScriptChangedException();
          }
  
negative.code:   }
  }
  
  bool get _runningFromSnapshot => !Platform.script.path.endsWith('.dart');
  