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

Unified Diff: test/dart_codegen/expect/core/bool.dart

Issue 961493003: don't run dart gen on JS patch code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/core » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/core/bool.dart
diff --git a/test/dart_codegen/expect/core/bool.dart b/test/dart_codegen/expect/core/bool.dart
index a83a795a335647ce63beab71288dfc8be2eeabac..f9e565369d3835f61534621e145f68fb01282196 100644
--- a/test/dart_codegen/expect/core/bool.dart
+++ b/test/dart_codegen/expect/core/bool.dart
@@ -1,10 +1,8 @@
part of dart.core;
class bool {
- factory bool.fromEnvironment(String name, {bool defaultValue: false}) {
- throw new UnsupportedError(
- 'bool.fromEnvironment can only be used as a const constructor');
- }
+ external const factory bool.fromEnvironment(String name,
+ {bool defaultValue: false});
String toString() {
return this ? "true" : "false";
}
« no previous file with comments | « test/dart_codegen/expect/convert/utf.dart ('k') | test/dart_codegen/expect/core/core » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698