Index: testcases/strong-mode/named_parameters.baseline.txt |
diff --git a/testcases/strong-mode/named_parameters.baseline.txt b/testcases/strong-mode/named_parameters.baseline.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ba65e048b2ba7fdaa0c22eebe165d73aad74491 |
--- /dev/null |
+++ b/testcases/strong-mode/named_parameters.baseline.txt |
@@ -0,0 +1,28 @@ |
+library; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class Superclass extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method foo({dynamic alpha, dynamic beta}) → dynamic {} |
+ method bar({dynamic alpha, dynamic beta}) → dynamic {} |
+ method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic callback) → dynamic {} |
+} |
+class Subclass extends self::Superclass { |
+ constructor •() → void |
+ : super self::Superclass::•() |
+ ; |
+ method foo({dynamic alpha, dynamic beta}) → dynamic {} |
+ method bar({dynamic alpha, dynamic beta}) → dynamic {} |
+ method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic callback) → dynamic {} |
+} |
+static method topLevelNamed(dynamic beta, dynamic alpha, {dynamic delta, dynamic gamma}) → dynamic {} |
+static method topLevelOptional(dynamic beta, dynamic alpha, [dynamic gamma, dynamic delta]) → dynamic {} |
+static method main() → dynamic { |
+ new self::Subclass::•().{self::Subclass::foo}(beta: 1, alpha: 2); |
+ new self::Subclass::•().{self::Subclass::foo}(alpha: 1, beta: 2); |
+ self::topLevelNamed(1, 2, gamma: 3, delta: 4); |
+ self::topLevelNamed(1, 2, delta: 3, gamma: 4); |
+} |