From e9b18c1d9cf84d524adba7620bec82dc58f2e39c Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Tue, 27 Oct 2020 11:04:16 -0700 Subject: [PATCH] [null-safety] fix the snippets (#69122) --- dev/bots/analyze-sample-code.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/bots/analyze-sample-code.dart b/dev/bots/analyze-sample-code.dart index 174b2bc16cf..6cd35610407 100644 --- a/dev/bots/analyze-sample-code.dart +++ b/dev/bots/analyze-sample-code.dart @@ -186,6 +186,7 @@ class SampleChecker { /// Computes the headers needed for each sample file. List get headers { return _headers ??= [ + '// @dart = 2.9', '// generated code', "import 'dart:async';", "import 'dart:convert';",