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

Unified Diff: tests/language/inferrer_constructor2_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 | « no previous file | tests/language/inferrer_constructor3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/inferrer_constructor2_test.dart
===================================================================
--- tests/language/inferrer_constructor2_test.dart (revision 26111)
+++ tests/language/inferrer_constructor2_test.dart (working copy)
@@ -13,7 +13,7 @@
var foo;
var bar;
- @DontInline
+ @DontInline()
A() {
// Currently defeat inlining by using a closure.
bar = () => 42;
@@ -33,7 +33,7 @@
class B {
var bar;
var closure;
- @DontInline
+ @DontInline()
B() {
// Currently defeat inlining by using a closure.
closure = () => 42;
@@ -41,7 +41,7 @@
}
}
-@DontInline
+@DontInline()
bar() {
// Make sure B's constructor is analyzed first by surrounding the
// body by two allocations.
@@ -52,7 +52,7 @@
new B();
}
-@DontInline
+@DontInline()
codegenLast() {
// This assignment currently defeats simple type inference, but not
// the optimistic inferrer.
« no previous file with comments | « no previous file | tests/language/inferrer_constructor3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698