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

Unified Diff: pkg/dart_messages/lib/shared_messages.dart

Issue 2039833002: New tests for initializing formal access. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Review response, just changing expected exception type Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | tests/language/initializing_formal_capture_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart_messages/lib/shared_messages.dart
diff --git a/pkg/dart_messages/lib/shared_messages.dart b/pkg/dart_messages/lib/shared_messages.dart
index c2e73c74f6c551815c4a152c68a171a638f87bb8..ae917115c2a3210a6e332c714b88ff59986187ca 100644
--- a/pkg/dart_messages/lib/shared_messages.dart
+++ b/pkg/dart_messages/lib/shared_messages.dart
@@ -682,6 +682,8 @@ final Map<String, Message> MESSAGES = {
template: "The setter '#{memberName}' is not defined for the "
"class '#{className}'.",
usedBy: [dart2js, analyzer],
+ // TODO(eernst): When this.x access is available, add examples here,
+ // e.g., "class A { var x; A(this.x) : x = 3; } main() => new A(2);"
examples: const ["class A {} main() { new A().x = 499; }",]),
'NO_SUCH_SUPER_MEMBER': new Message(
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | tests/language/initializing_formal_capture_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698