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

Unified Diff: runtime/lib/bool_patch.dart

Issue 2220883004: Use metadata annotation @patch for patch classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 4 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
Index: runtime/lib/bool_patch.dart
diff --git a/runtime/lib/bool_patch.dart b/runtime/lib/bool_patch.dart
index bbcbdb40264636641272b9d4c42ecf0c61cfd6f3..1a5eb6c4ef14907760d43423d93cd1ccaaa3282b 100644
--- a/runtime/lib/bool_patch.dart
+++ b/runtime/lib/bool_patch.dart
@@ -4,9 +4,9 @@
// Dart core library.
-patch class bool {
+@patch class bool {
- /* patch */ const factory bool.fromEnvironment(String name,
+ /* @patch */ const factory bool.fromEnvironment(String name,
{bool defaultValue: false})
native "Bool_fromEnvironment";

Powered by Google App Engine
This is Rietveld 408576698