Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: pkg/analyzer_cli/test/data/options_include_directive_tests_project/lib/test_file.dart

Issue 2541933002: update analyzer cli to support include directive in analysis options file (Closed)
Patch Set: merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_cli/test/data/options_include_directive_tests_project/lib/test_file.dart
diff --git a/pkg/analyzer_cli/test/data/options_include_directive_tests_project/lib/test_file.dart b/pkg/analyzer_cli/test/data/options_include_directive_tests_project/lib/test_file.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c53a7e080f7326dece0797ed71f981c119b7034c
--- /dev/null
+++ b/pkg/analyzer_cli/test/data/options_include_directive_tests_project/lib/test_file.dart
@@ -0,0 +1,16 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library analyzer_cli.test.data.options_include_directive_test_project.test_file;
+
+
+int foo() {
+
+ int x = baz(); // Undefined function.
+ if (x == 0) {
+ print('x is zero');
+ } else ; // Empty else statement
+
+ // Missing return
+}

Powered by Google App Engine
This is Rietveld 408576698