| Index: tests/language/optional_named_parameters_test.dart
|
| ===================================================================
|
| --- tests/language/optional_named_parameters_test.dart (revision 24537)
|
| +++ tests/language/optional_named_parameters_test.dart (working copy)
|
| @@ -49,11 +49,11 @@
|
| }
|
|
|
| static int F41(int a, {int b: 20, int c, int d: 40}) {
|
| - return 100*(100*(100*a + b) + (?c ? c : 0)) + d;
|
| + return 100*(100*(100*a + b) + ((c != null) ? c : 0)) + d;
|
| }
|
|
|
| int f52(int a, {int b: 20, int c, int d: 40}) {
|
| - return 100*(100*(100*a + b) + (?c ? c : 0)) + d;
|
| + return 100*(100*(100*a + b) + ((c != null) ? c : 0)) + d;
|
| }
|
|
|
| static void test() {
|
|
|