blob: a8f9bcce96e589396c91e9dcda3a3b87dc309333 [file] [log] [blame]
//
// Problems in component:
//
// pkg/front_end/testcases/agnostic/as.dart:5:20: Error: Constant evaluation error:
// const a = <Null>[] as List<int>;
// ^
// pkg/front_end/testcases/agnostic/as.dart:5:20: Context: Constant value is not strong/weak mode agnostic.
// const a = <Null>[] as List<int>;
// ^
// pkg/front_end/testcases/agnostic/as.dart:5:7: Context: While analyzing:
// const a = <Null>[] as List<int>;
// ^
//
// pkg/front_end/testcases/agnostic/as.dart:6:20: Error: Constant evaluation error:
// const b = <int?>[] as List<int>;
// ^
// pkg/front_end/testcases/agnostic/as.dart:6:20: Context: Constant value is not strong/weak mode agnostic.
// const b = <int?>[] as List<int>;
// ^
// pkg/front_end/testcases/agnostic/as.dart:6:7: Context: While analyzing:
// const b = <int?>[] as List<int>;
// ^
//
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
static const field core::List<core::int> a = invalid-expression "Constant value is not strong/weak mode agnostic.";
static const field core::List<core::int> b = invalid-expression "Constant value is not strong/weak mode agnostic.";
static method main() void {}