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

Unified Diff: tests/language/implicit_super_constructor_call_test.dart

Issue 987393002: Support @NoInline for constructor bodies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 side-by-side diff with in-line comments
Download patch
Index: tests/language/implicit_super_constructor_call_test.dart
diff --git a/tests/language/implicit_super_constructor_call_test.dart b/tests/language/implicit_super_constructor_call_test.dart
index 11d2deee76296801b36f81bbf653bd58eb1797d5..70a34af25a505ddb7ac1230ee5d4c7e8000b2529 100644
--- a/tests/language/implicit_super_constructor_call_test.dart
+++ b/tests/language/implicit_super_constructor_call_test.dart
@@ -9,10 +9,9 @@ import "package:expect/expect.dart";
class A {
final x;
- @NoInline
Johnni Winther 2015/03/11 08:27:52 This should be a compile-time error, but we unfort
herhut 2015/03/11 14:01:56 Acknowledged.
+ @NoInline()
A({this.x: "foo"}) {
Expect.equals("foo", x.toString());
- try {} catch (_) {}; // Make sure it really does not get inlined.
}
}
« pkg/compiler/lib/src/js_backend/backend.dart ('K') | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698