Fixes #1105. Function tear-offs tests fixed
diff --git a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t02.dart b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t02.dart
index 5415798..b8feffe 100644
--- a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t02.dart
+++ b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t02.dart
@@ -20,21 +20,20 @@
 // SharedOptions=--enable-experiment=constructor-tearoffs
 
 class C {
-  var x;
   C() {
-    x = instanceMethod<int>;
+    var x = instanceMethod<int>;
+    x(3.14);
+//    ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+    x<double>(42);
+//   ^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
   }
   T instanceMethod<T>(T t) => t;
 }
 
 main() {
-  C c = new C();
-  c.x(3.14);
-//    ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
-  c.x<double>(42);
-//   ^^^^^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+  new C();
 }
diff --git a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t04.dart b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t04.dart
index a2e2bf8..6242f87 100644
--- a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t04.dart
+++ b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t04.dart
@@ -20,21 +20,20 @@
 // SharedOptions=--enable-experiment=constructor-tearoffs
 
 class C {
-  var x;
   C() {
-    x = this.instanceMethod<int>;
+    var x = this.instanceMethod<int>;
+    x(3.14);
+//    ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+    x<double>(42);
+//   ^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
   }
   T instanceMethod<T>(T t) => t;
 }
 
 main() {
-  C c = new C();
-  c.x(3.14);
-//    ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
-  c.x<double>(42);
-//   ^^^^^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+  new C();
 }
diff --git a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t06.dart b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t06.dart
index a647f51..196c474 100644
--- a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t06.dart
+++ b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t06.dart
@@ -24,20 +24,19 @@
 }
 
 class C extends A {
-  var x;
   C() {
-    x = instanceMethod<int>;
+    var x = instanceMethod<int>;
+    x(3.14);
+//    ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+    x<double>(42);
+//   ^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
   }
 }
 
 main() {
-  C c = new C();
-  c.x(3.14);
-//    ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
-  c.x<double>(42);
-//   ^^^^^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+  new C();
 }
diff --git a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t08.dart b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t08.dart
index 0b58889..d634560 100644
--- a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t08.dart
+++ b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t08.dart
@@ -25,20 +25,19 @@
 }
 
 class C extends A {
-  var x;
   C() {
-    x = this.instanceMethod<int>;
+    var x = this.instanceMethod<int>;
+    x(3.14);
+//    ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+    x<double>(42);
+//   ^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
   }
 }
 
 main() {
-  C c = new C();
-  c.x(3.14);
-//    ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
-  c.x<double>(42);
-//   ^^^^^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+  new C();
 }
diff --git a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t10.dart b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t10.dart
index 92a490a..d46a9f1 100644
--- a/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t10.dart
+++ b/LanguageFeatures/Constructor-tear-offs/function_tearoffs_A02_t10.dart
@@ -25,20 +25,19 @@
 }
 
 class C extends A {
-  var x;
   C() {
-    x = super.instanceMethod<int>;
+    var x = super.instanceMethod<int>;
+    x(3.14);
+//    ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+    x<double>(42);
+//   ^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
   }
 }
 
 main() {
-  C c = new C();
-  c.x(3.14);
-//    ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
-  c.x<double>(42);
-//   ^^^^^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+  new C();
 }