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

Side by Side Diff: pkg/dart_messages/lib/shared_messages.dart

Issue 1769043002: Don't assume that we always have a HowToFix and remove failing test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // An update to this file must be followed by regenerating the corresponding 5 // An update to this file must be followed by regenerating the corresponding
6 // json, dart2js and analyzer file. Use `publish.dart` in the bin directory. 6 // json, dart2js and analyzer file. Use `publish.dart` in the bin directory.
7 // 7 //
8 // Every message in this file must have an id. Use `message_id.dart` in the 8 // Every message in this file must have an id. Use `message_id.dart` in the
9 // bin directory to generate a fresh one. 9 // bin directory to generate a fresh one.
10 10
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 "of '#{className}'.", 825 "of '#{className}'.",
826 usedBy: [analyzer, dart2js,], 826 usedBy: [analyzer, dart2js,],
827 examples: const [ 827 examples: const [
828 """ 828 """
829 class A {} 829 class A {}
830 class B extends A { 830 class B extends A {
831 foo() { super.x = 499; } 831 foo() { super.x = 499; }
832 } 832 }
833 main() { new B().foo(); } 833 main() { new B().foo(); }
834 """, 834 """,
835 // TODO(floitsch): reenable this test.
836 /*
835 """ 837 """
836 main() => new B().m(); 838 main() => new B().m();
837 class A { 839 class A {
838 get x => 1; 840 get x => 1;
839 } 841 }
840 class B extends A { 842 class B extends A {
841 m() { super.x = 2; } 843 m() { super.x = 2; }
842 } 844 }
843 """ 845 """
846 */
844 ]), 847 ]),
845 848
846 /** 849 /**
847 * 12.15.3 Unqualified Invocation: If there exists a lexically visible 850 * 12.15.3 Unqualified Invocation: If there exists a lexically visible
848 * declaration named <i>id</i>, let <i>f<sub>id</sub></i> be the innermost 851 * declaration named <i>id</i>, let <i>f<sub>id</sub></i> be the innermost
849 * such declaration. Then: [skip]. Otherwise, <i>f<sub>id</sub></i> is 852 * such declaration. Then: [skip]. Otherwise, <i>f<sub>id</sub></i> is
850 * considered equivalent to the ordinary method invocation 853 * considered equivalent to the ordinary method invocation
851 * <b>this</b>.<i>id</i>(<i>a<sub>1</sub></i>, ..., <i>a<sub>n</sub></i>, 854 * <b>this</b>.<i>id</i>(<i>a<sub>1</sub></i>, ..., <i>a<sub>n</sub></i>,
852 * <i>x<sub>n+1</sub></i> : <i>a<sub>n+1</sub></i>, ..., 855 * <i>x<sub>n+1</sub></i> : <i>a<sub>n+1</sub></i>, ...,
853 * <i>x<sub>n+k</sub></i> : <i>a<sub>n+k</sub></i>). 856 * <i>x<sub>n+k</sub></i> : <i>a<sub>n+k</sub></i>).
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 main() { x = 3; } 897 main() { x = 3; }
895 """, 898 """,
896 """ 899 """
897 const x = 1; 900 const x = 1;
898 main() { x = 3; } 901 main() { x = 3; }
899 """, 902 """,
900 "get foo => null main() { foo = 5; }", 903 "get foo => null main() { foo = 5; }",
901 "const foo = 0 main() { foo = 5; }", 904 "const foo = 0 main() { foo = 5; }",
902 ]), 905 ]),
903 }; 906 };
OLDNEW
« no previous file with comments | « pkg/dart_messages/lib/generated/shared_messages.json ('k') | tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698