| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Tests that an inline function type inside a `Function` type isn't a | 5 // Tests that an inline function type inside a `Function` type isn't a |
| 6 // parser error. | 6 // parser error. |
| 7 | 7 |
| 8 typedef F = int Function(int f(String x)); | 8 typedef F = int Function(int f(String x)); |
| 9 | 9 |
| 10 main() { | 10 main() { |
| 11 F f = null; | 11 F f = null; |
| 12 String Function(String g(int y)) g = null; | 12 String Function(String g(int y)) g = null; |
| 13 } | 13 } |
| OLD | NEW |