blob: 772c92d6e3b631e927bf78a8739a319a5c74b9f4 [file] [log] [blame]
// Formatted problems:
//
// 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 =
// ^
library;
import self as self;
import "dart:core" as core;
typedef T = invalid-type;
typedef F = () core::Map<core::String, dynamic>;
static method main() dynamic
;