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

Side by Side Diff: test/_data/only_throw_errors/only_throw_errors.dart

Issue 2100013005: Linter `0.1.21` (Closed) Base URL: https://github.com/dart-lang/linter.git@master
Patch Set: Created 4 years, 5 months 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 unified diff | Download patch
« no previous file with comments | « test/_data/only_throw_error/only_throw_error.dart ('k') | test/integration_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:core'; 5 import 'dart:core';
6 6
7 void throwString() { 7 void throwString() {
8 throw 'hello world!'; // LINT 8 throw 'hello world!'; // LINT
9 } 9 }
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 invocation.memberName, 64 invocation.memberName,
65 invocation.positionalArguments, 65 invocation.positionalArguments,
66 invocation.namedArguments); 66 invocation.namedArguments);
67 } 67 }
68 68
69 class E extends Object with Exception { 69 class E extends Object with Exception {
70 static throws() { 70 static throws() {
71 throw new E(); // OK 71 throw new E(); // OK
72 } 72 }
73 } 73 }
OLDNEW
« no previous file with comments | « test/_data/only_throw_error/only_throw_error.dart ('k') | test/integration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698