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

Side by Side Diff: test/dart_codegen/expect/core/bool.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/date_time.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of dart.core; 1 part of dart.core;
2 2
3 class bool { 3 class bool {
4 @patch factory bool.fromEnvironment(String name, {bool defaultValue: false}) { 4 factory bool.fromEnvironment(String name, {bool defaultValue: false}) {
5 throw new UnsupportedError( 5 throw new UnsupportedError(
6 'bool.fromEnvironment can only be used as a const constructor'); 6 'bool.fromEnvironment can only be used as a const constructor');
7 } 7 }
8 String toString() { 8 String toString() {
9 return this ? "true" : "false"; 9 return this ? "true" : "false";
10 } 10 }
11 } 11 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/date_time.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698