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

Unified Diff: pkg/compiler/lib/src/diagnostics/messages.dart

Issue 2466353002: Revert "More functionality in kernel_impact." and "Compute NativeBehavior for foreign functions." (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « pkg/compiler/lib/src/common/names.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/diagnostics/messages.dart
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart
index a5e40038e8c72379e1bf11898f6427b058c34623..05ef3e762936ab9408683a89340611c2362bf062 100644
--- a/pkg/compiler/lib/src/diagnostics/messages.dart
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart
@@ -463,9 +463,6 @@ enum MessageKind {
VOID_EXPRESSION,
VOID_NOT_ALLOWED,
VOID_VARIABLE,
- WRONG_ARGUMENT_FOR_JS,
- WRONG_ARGUMENT_FOR_JS_FIRST,
- WRONG_ARGUMENT_FOR_JS_SECOND,
WRONG_ARGUMENT_FOR_JS_INTERCEPTOR_CONSTANT,
WRONG_NUMBER_OF_ARGUMENTS_FOR_ASSERT,
YIELDING_MODIFIER_ON_ARROW_BODY,
@@ -2698,18 +2695,6 @@ main() {}
"Use an immediately called JavaScript function to capture the"
" the placeholder values as JavaScript function parameters."),
- MessageKind.WRONG_ARGUMENT_FOR_JS: const MessageTemplate(
- MessageKind.WRONG_ARGUMENT_FOR_JS,
- "JS expression must take two or more arguments."),
-
- MessageKind.WRONG_ARGUMENT_FOR_JS_FIRST: const MessageTemplate(
- MessageKind.WRONG_ARGUMENT_FOR_JS_FIRST,
- "JS expression must take two or more arguments."),
-
- MessageKind.WRONG_ARGUMENT_FOR_JS_SECOND: const MessageTemplate(
- MessageKind.WRONG_ARGUMENT_FOR_JS_SECOND,
- "JS second argument must be a string literal."),
-
MessageKind.WRONG_ARGUMENT_FOR_JS_INTERCEPTOR_CONSTANT:
const MessageTemplate(
MessageKind.WRONG_ARGUMENT_FOR_JS_INTERCEPTOR_CONSTANT,
« no previous file with comments | « pkg/compiler/lib/src/common/names.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698