blob: 9be6ce14fdbc944602df16c421199c76bdce63a3 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/regress/issue_31171.dart:8:1: Error: Expected a type, but got 'typedef'.
// typedef F = Map<String, dynamic> Function();
// ^^^^^^^
//
// pkg/front_end/testcases/regress/issue_31171.dart:8:1: Error: Expected ';' after this.
// typedef F = Map<String, dynamic> Function();
// ^^^^^^^
//
// pkg/front_end/testcases/regress/issue_31171.dart:7:11: Error: Can't create typedef from non-function type.
// typedef T =
// ^
//
import self as self;
import "dart:core" as core;
typedef T = invalid-type;
typedef F = () core::Map<core::String, dynamic>;
static method main() dynamic {}