blob: d7332cda8c6c865814d2cb351ebc0dd3dbf4b939 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/regress/issue_34850.dart:5:1: Error: Expected a declaration, but got '<'.
// <foo<
// ^
//
// pkg/front_end/testcases/regress/issue_34850.dart:7:1: Error: Expected '>' after this.
// int f1() {
// ^^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:12:8: Error: Expected '>' after this.
// Future<List<int>> f2() async => null;
// ^^^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:12:1: Error: A function declaration needs an explicit list of parameters.
// Try adding a parameter list to the function declaration.
// Future<List<int>> f2() async => null;
// ^^^^^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:12:19: Error: Expected '{' before this.
// Future<List<int>> f2() async => null;
// ^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:14:13: Error: Expected a type, but got '>>'.
// Future<List<>> f3() async {
// ^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:5:2: Warning: Type 'foo' not found.
// <foo<
// ^^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:11:1: Warning: Type 'foo' not found.
// foo
// ^^^
//
// pkg/front_end/testcases/regress/issue_34850.dart:14:1: Warning: 'Future' isn't a type.
// Future<List<>> f3() async {
// ^^^^^^
// pkg/front_end/testcases/regress/issue_34850.dart:12:1: Context: This isn't a type.
// Future<List<int>> f2() async => null;
// ^^^^^^
//
import self as self;
import "dart:core" as core;
static method f1() invalid-type
;
static method Future<List extends core::Object = dynamic>() invalid-type
;
static method f2() dynamic
;
static method f3() invalid-type
;
static method main() dynamic
;