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

Unified Diff: tests/language/multiple_field_assignment_constructor_test.dart

Issue 22999005: Make analyzer happy and use annotations the right way. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « tests/language/language_analyzer.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/multiple_field_assignment_constructor_test.dart
===================================================================
--- tests/language/multiple_field_assignment_constructor_test.dart (revision 26111)
+++ tests/language/multiple_field_assignment_constructor_test.dart (working copy)
@@ -11,7 +11,7 @@
var foo;
var bar;
- @DontInline
+ @DontInline()
A() {
// Currently defeat inlining by using a closure.
bar = () => 42;
@@ -24,7 +24,7 @@
var foo;
var bar;
- @DontInline
+ @DontInline()
B() {
// Currently defeat inlining by using a closure.
bar = () => 42;
@@ -44,7 +44,7 @@
new B();
}
-@DontInline
+@DontInline()
bar() {
// Currently defeat inlining by using a closure.
Expect.throws(() => new A().foo + 42, (e) => e is NoSuchMethodError);
« no previous file with comments | « tests/language/language_analyzer.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698