blob: 5640be71dcc2a8fd73ad5eb92a00502158abd13a [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/records/issue50514.dart:9:11: Error: Constant evaluation error:
// test() => const <Record>{
// ^
// pkg/front_end/testcases/records/issue50514.dart:11:9: Context: The element '(1, 2, A {})' conflicts with another existing element in the set.
// - 'A' is from 'pkg/front_end/testcases/records/issue50514.dart'.
// const (1, 2, A())
// ^
//
import self as self;
import "dart:core" as core;
class A extends core::Object /*hasConstConstructor*/ {
const constructor •() self::A
: super core::Object::•()
;
}
static method test() dynamic
return invalid-expression "The element '(1, 2, A {})' conflicts with another existing element in the set.
- 'A' is from 'pkg/front_end/testcases/records/issue50514.dart'.";
Constructor coverage from constants:
org-dartlang-testcase:///issue50514.dart:
- A. (from org-dartlang-testcase:///issue50514.dart:6:9)
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart)