| OLD | NEW | 
|    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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  675       id: 'ERUSKD', |  675       id: 'ERUSKD', | 
|  676       subId: 7, |  676       subId: 7, | 
|  677       categories: [ |  677       categories: [ | 
|  678         Category.staticTypeWarning, |  678         Category.staticTypeWarning, | 
|  679         Category.staticWarning, |  679         Category.staticWarning, | 
|  680         Category.hint |  680         Category.hint | 
|  681       ], |  681       ], | 
|  682       template: "The setter '#{memberName}' is not defined for the " |  682       template: "The setter '#{memberName}' is not defined for the " | 
|  683           "class '#{className}'.", |  683           "class '#{className}'.", | 
|  684       usedBy: [dart2js, analyzer], |  684       usedBy: [dart2js, analyzer], | 
 |  685       // TODO(eernst): When this.x access is available, add examples here, | 
 |  686       // e.g., "class A { var x; A(this.x) : x = 3; } main() => new A(2);" | 
|  685       examples: const ["class A {} main() { new A().x = 499; }",]), |  687       examples: const ["class A {} main() { new A().x = 499; }",]), | 
|  686  |  688  | 
|  687   'NO_SUCH_SUPER_MEMBER': new Message( |  689   'NO_SUCH_SUPER_MEMBER': new Message( | 
|  688       id: 'ERUSKD', |  690       id: 'ERUSKD', | 
|  689       subId: 8, |  691       subId: 8, | 
|  690       categories: [Category.staticTypeWarning], |  692       categories: [Category.staticTypeWarning], | 
|  691       template: |  693       template: | 
|  692           "Can't resolve '#{memberName}' in a superclass of '#{className}'.", |  694           "Can't resolve '#{memberName}' in a superclass of '#{className}'.", | 
|  693       usedBy: [dart2js]), |  695       usedBy: [dart2js]), | 
|  694  |  696  | 
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  873         main() { x = 3; } |  875         main() { x = 3; } | 
|  874         """, |  876         """, | 
|  875         """ |  877         """ | 
|  876         const x = 1; |  878         const x = 1; | 
|  877         main() { x = 3; } |  879         main() { x = 3; } | 
|  878         """, |  880         """, | 
|  879         "get foo => null  main() { foo = 5; }", |  881         "get foo => null  main() { foo = 5; }", | 
|  880         "const foo = 0  main() { foo = 5; }", |  882         "const foo = 0  main() { foo = 5; }", | 
|  881       ]), |  883       ]), | 
|  882 }; |  884 }; | 
| OLD | NEW |