From 0f77579549444639417c70e17f8839942dc6dd8d Mon Sep 17 00:00:00 2001 From: Chase Latta Date: Tue, 20 Oct 2020 20:05:26 +0000 Subject: [PATCH] [fuchsia] opt-out null-safety in standalone scripts --- shell/platform/fuchsia/dart/compiler.dart | 2 ++ shell/platform/fuchsia/flutter/collect_traces.dart | 2 ++ shell/platform/fuchsia/flutter/kernel/extract_far.dart | 2 ++ .../runtime/dart/profiler_symbols/dart_profiler_symbols.dart | 2 ++ 4 files changed, 8 insertions(+) diff --git a/shell/platform/fuchsia/dart/compiler.dart b/shell/platform/fuchsia/dart/compiler.dart index c955e218812c8..b0ab6f2db0b34 100644 --- a/shell/platform/fuchsia/dart/compiler.dart +++ b/shell/platform/fuchsia/dart/compiler.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/shell/platform/fuchsia/flutter/collect_traces.dart b/shell/platform/fuchsia/flutter/collect_traces.dart index cfb67e09f788c..ed017218e1771 100644 --- a/shell/platform/fuchsia/flutter/collect_traces.dart +++ b/shell/platform/fuchsia/flutter/collect_traces.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'dart:convert'; diff --git a/shell/platform/fuchsia/flutter/kernel/extract_far.dart b/shell/platform/fuchsia/flutter/kernel/extract_far.dart index 4bfd72a3e462e..442f64be4bd3d 100644 --- a/shell/platform/fuchsia/flutter/kernel/extract_far.dart +++ b/shell/platform/fuchsia/flutter/kernel/extract_far.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + import "dart:io"; import "package:args/args.dart"; diff --git a/shell/platform/fuchsia/runtime/dart/profiler_symbols/dart_profiler_symbols.dart b/shell/platform/fuchsia/runtime/dart/profiler_symbols/dart_profiler_symbols.dart index 0e6af0f48e93f..c0436c096ab34 100644 --- a/shell/platform/fuchsia/runtime/dart/profiler_symbols/dart_profiler_symbols.dart +++ b/shell/platform/fuchsia/runtime/dart/profiler_symbols/dart_profiler_symbols.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// @dart = 2.9 + // On Fuchsia, in lieu of the ELF dynamic symbol table consumed through dladdr, // the Dart VM profiler consumes symbols produced by this tool, which have the // format