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

Side by Side Diff: sdk/lib/core/errors.dart

Issue 2911903002: Use relative URIs for core library part-of statements. (Closed)
Patch Set: Fix warnings in web-sockets tests, typo in fasta. Created 3 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 | « sdk/lib/core/duration.dart ('k') | sdk/lib/core/exceptions.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.core; 5 part of "core.dart";
6 6
7 /** 7 /**
8 * Error objects thrown in the case of a program failure. 8 * Error objects thrown in the case of a program failure.
9 * 9 *
10 * An `Error` object represents a program failure that the programmer 10 * An `Error` object represents a program failure that the programmer
11 * should have avoided. 11 * should have avoided.
12 * 12 *
13 * Examples include calling a function with invalid arguments, 13 * Examples include calling a function with invalid arguments,
14 * or even with the wrong number of arguments, 14 * or even with the wrong number of arguments,
15 * or calling it at a time when it is not allowed. 15 * or calling it at a time when it is not allowed.
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 : "Reading static variable '$variableName' during its initialization"; 559 : "Reading static variable '$variableName' during its initialization";
560 } 560 }
561 561
562 /// Used by Fasta to throw a compile-time error in a way that is compatible 562 /// Used by Fasta to throw a compile-time error in a way that is compatible
563 /// with compile-time constant evaluation. 563 /// with compile-time constant evaluation.
564 class _ConstantExpressionError { 564 class _ConstantExpressionError {
565 const _ConstantExpressionError(); 565 const _ConstantExpressionError();
566 566
567 external _throw(error); 567 external _throw(error);
568 } 568 }
OLDNEW
« no previous file with comments | « sdk/lib/core/duration.dart ('k') | sdk/lib/core/exceptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698