Index: tests/language/src/FinalParamNegativeTest.dart |
diff --git a/tests/language/src/FinalParamNegativeTest.dart b/tests/language/src/FinalParamNegativeTest.dart |
deleted file mode 100644 |
index 8857735633e16627ba716193d1c034b5d67973de..0000000000000000000000000000000000000000 |
--- a/tests/language/src/FinalParamNegativeTest.dart |
+++ /dev/null |
@@ -1,14 +0,0 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
-// Disallow assignment of parameters marked as final. |
- |
-class A { |
- static void test(final x) { |
- x = 2; // <- reassignment not allowed. |
- } |
-} |
- |
-main() { |
- A.test(1); |
-} |