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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 538513002: Move js library back into compiler directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/js_lib/annotations.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 dart2js; 5 part of dart2js;
6 6
7 const DONT_KNOW_HOW_TO_FIX = ""; 7 const DONT_KNOW_HOW_TO_FIX = "";
8 8
9 /** 9 /**
10 * The messages in this file should meet the following guide lines: 10 * The messages in this file should meet the following guide lines:
(...skipping 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1958 1958
1959 static const MessageKind HIDDEN_WARNINGS = const MessageKind( 1959 static const MessageKind HIDDEN_WARNINGS = const MessageKind(
1960 "#{warnings} warning(s) suppressed in #{uri}."); 1960 "#{warnings} warning(s) suppressed in #{uri}.");
1961 1961
1962 static const MessageKind HIDDEN_HINTS = const MessageKind( 1962 static const MessageKind HIDDEN_HINTS = const MessageKind(
1963 "#{hints} hint(s) suppressed in #{uri}."); 1963 "#{hints} hint(s) suppressed in #{uri}.");
1964 1964
1965 static const MessageKind PREAMBLE = const MessageKind( 1965 static const MessageKind PREAMBLE = const MessageKind(
1966 "When run on the command-line, the compiled output might" 1966 "When run on the command-line, the compiled output might"
1967 " require a preamble file located in:\n" 1967 " require a preamble file located in:\n"
1968 " <sdk>/lib/_internal/lib/preambles."); 1968 " <sdk>/lib/_internal/complire/js_lib/preambles.");
1969 1969
1970 ////////////////////////////////////////////////////////////////////////////// 1970 //////////////////////////////////////////////////////////////////////////////
1971 // Patch errors start. 1971 // Patch errors start.
1972 ////////////////////////////////////////////////////////////////////////////// 1972 //////////////////////////////////////////////////////////////////////////////
1973 1973
1974 static const MessageKind PATCH_RETURN_TYPE_MISMATCH = const MessageKind( 1974 static const MessageKind PATCH_RETURN_TYPE_MISMATCH = const MessageKind(
1975 "Patch return type '#{patchReturnType}' does not match " 1975 "Patch return type '#{patchReturnType}' does not match "
1976 "'#{originReturnType}' on origin method '#{methodName}'."); 1976 "'#{originReturnType}' on origin method '#{methodName}'.");
1977 1977
1978 static const MessageKind PATCH_REQUIRED_PARAMETER_COUNT_MISMATCH = 1978 static const MessageKind PATCH_REQUIRED_PARAMETER_COUNT_MISMATCH =
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2120 static String convertToString(value) { 2120 static String convertToString(value) {
2121 if (value is ErrorToken) { 2121 if (value is ErrorToken) {
2122 // Shouldn't happen. 2122 // Shouldn't happen.
2123 return value.assertionMessage; 2123 return value.assertionMessage;
2124 } else if (value is Token) { 2124 } else if (value is Token) {
2125 value = value.value; 2125 value = value.value;
2126 } 2126 }
2127 return '$value'; 2127 return '$value';
2128 } 2128 }
2129 } 2129 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/js_lib/annotations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698