|
Use metadata annotation @patch for patch classes
Annotate patch classes and top-level patch functions with @patch
instead of the pseudo-keyword patch. This allows the analyzer
to read patch files, and matches the syntax that dart2js uses.
The deprecated syntax is still supported, but a warning is printed when detected.
BUG=
Committed: https://github.com/dart-lang/sdk/commit/e11ca24053e7e3e55499ca65a66d80f6cdb18d8a
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+416 lines, -389 lines) |
Patch |
|
M |
runtime/bin/common_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
3 comments
|
Download
|
|
M |
runtime/bin/directory_patch.dart
|
View
|
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/bin/eventhandler_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/file_patch.dart
|
View
|
|
4 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/bin/file_system_entity_patch.dart
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/filter_patch.dart
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/bin/io_service_patch.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/platform_patch.dart
|
View
|
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/bin/process_patch.dart
|
View
|
|
5 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/bin/secure_socket_patch.dart
|
View
|
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/bin/socket_patch.dart
|
View
|
|
5 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/bin/stdio_patch.dart
|
View
|
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
runtime/lib/array_patch.dart
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/lib/async_patch.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/bool_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/collection_patch.dart
|
View
|
|
7 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/lib/convert_patch.dart
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/lib/core_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/date_patch.dart
|
View
|
|
5 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
|
M |
runtime/lib/deferred_load_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/developer.dart
|
View
|
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/lib/double_patch.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/errors_patch.dart
|
View
|
|
5 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/lib/expando_patch.dart
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/function_patch.dart
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/identical_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/integers_patch.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/internal_patch.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/isolate_patch.dart
|
View
|
|
17 chunks |
+23 lines, -23 lines |
0 comments
|
Download
|
|
M |
runtime/lib/map_patch.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/math_patch.dart
|
View
|
|
5 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/lib/mirrors_patch.dart
|
View
|
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/lib/null_patch.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/object_patch.dart
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/lib/print_patch.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/profiler.dart
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/regexp_patch.dart
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/resource_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/schedule_microtask_patch.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/lib/stopwatch_patch.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/string_buffer_patch.dart
|
View
|
|
4 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/lib/string_patch.dart
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/lib/symbol_patch.dart
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/lib/timeline.dart
|
View
|
|
1 chunk |
+23 lines, -23 lines |
0 comments
|
Download
|
|
M |
runtime/lib/timer_patch.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/lib/uri_patch.dart
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/lib/vmservice_patch.dart
|
View
|
|
2 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/method_recognizer.h
|
View
|
|
4 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
|
4 chunks |
+30 lines, -4 lines |
2 comments
|
Download
|
Total messages: 12 (4 generated)
|