anchor.diff:    //
     // - End implementation of FilesControllerDelegate interface.
     //
  -
  -  /**
  -   * Handle logged exceptions.
  -   */
  -  void _trackLoggedExceptions() {
  -    Logger.root.onRecord.listen((LogRecord r) {
  -      if (r.level >= Level.SEVERE && r.loggerName != 'spark.tests') {
  -        _handleUncaughtException(r.error, r.stackTrace);
  -      }
  -    });
  -  }
  -
  -  void _handleUncaughtException(error, StackTrace stackTrace) {
  -    // We don't log the error object itself because of PII concerns.
  -    String errorDesc = error != null ? error.runtimeType.toString() : '';
  -    String desc = '${errorDesc}\n${minimizeStackTrace(stackTrace)}'.trim();
  -
  -    tracker.sendException(desc);
  -  }
   }
   
   class PlatformInfo {
  
positive.code: import 'lib/workspace.dart' as ws;
  import 'test/all.dart' as all_tests;
  
  void main() {
    createSparkZone().runGuarded(() {
      isTestMode().then((testMode) {
        Spark spark = new Spark(testMode);
        spark.start();
      });
  
negative.code: 
    void invoke([Object context]) {
      // Send an action event with the 'main' event category.
      _analyticsTracker.sendEvent('main', id);
  
      _invoke(context);
    }
  