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

Side by Side Diff: packages/observe/lib/src/messages.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 /// Contains all warning messages produced by the observe transformer. 5 /// Contains all warning messages produced by the observe transformer.
6 library observe.src.messages; 6 library observe.src.messages;
7 7
8 import 'package:code_transformers/messages/messages.dart'; 8 import 'package:code_transformers/messages/messages.dart';
9 9
10 const NO_OBSERVABLE_ON_LIBRARY = const MessageTemplate( 10 const NO_OBSERVABLE_ON_LIBRARY = const MessageTemplate(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 '`@observable` field not in an `Observable` class', 42 '`@observable` field not in an `Observable` class',
43 _COMMON_MESSAGE_WHERE_TO_USE_OBSERVABLE); 43 _COMMON_MESSAGE_WHERE_TO_USE_OBSERVABLE);
44 44
45 const String _COMMON_MESSAGE_WHERE_TO_USE_OBSERVABLE = ''' 45 const String _COMMON_MESSAGE_WHERE_TO_USE_OBSERVABLE = '''
46 Only instance fields on `Observable` classes can be observable, 46 Only instance fields on `Observable` classes can be observable,
47 and you must explicitly annotate each observable field as `@observable`. 47 and you must explicitly annotate each observable field as `@observable`.
48 48
49 Support for using the `@observable` annotation in libraries, classes, and 49 Support for using the `@observable` annotation in libraries, classes, and
50 elsewhere is deprecated. 50 elsewhere is deprecated.
51 '''; 51 ''';
OLDNEW
« no previous file with comments | « packages/observe/lib/src/list_path_observer.dart ('k') | packages/observe/lib/src/metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698