Index: runtime/lib/integers_patch.dart |
diff --git a/runtime/lib/integers_patch.dart b/runtime/lib/integers_patch.dart |
index 6aa072b8744aecc465afc0e3f1e8210d7ed30201..67db1767ecce9f7de10cab4bfaf1e8867e2f4476 100644 |
--- a/runtime/lib/integers_patch.dart |
+++ b/runtime/lib/integers_patch.dart |
@@ -9,8 +9,8 @@ import 'dart:_internal' as internal; |
@patch class int { |
- /* @patch */ const factory int.fromEnvironment(String name, |
- {int defaultValue}) |
+ @patch const factory int.fromEnvironment(String name, |
+ {int defaultValue}) |
native "Integer_fromEnvironment"; |
@@ -42,9 +42,9 @@ import 'dart:_internal' as internal; |
return sign * result; |
} |
- /* @patch */ static int parse(String source, |
- { int radix, |
- int onError(String str) }) { |
+ @patch static int parse(String source, |
+ { int radix, |
+ int onError(String str) }) { |
if (source == null) throw new ArgumentError("The source must not be null"); |
if (source.isEmpty) return _throwFormatException(onError, source, 0, radix); |
if (radix == null || radix == 10) { |