blob: c050ae7390cd97e8908da0265d169564e4134c54 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/general_nnbd_opt_out/import_conflicting_setters.dart:13:3: Error: Setter not found: 'foo'.
// foo = 42;
// ^^^
//
import self as self;
import "org-dartlang-testcase:///import_conflicting_setters_lib1.dart";
import "org-dartlang-testcase:///import_conflicting_setters_lib2.dart";
static method main() dynamic {}
static method errors() dynamic {
invalid-expression "pkg/front_end/testcases/general_nnbd_opt_out/import_conflicting_setters.dart:13:3: Error: Setter not found: 'foo'.
foo = 42;
^^^";
}
library;
import self as self2;
import "dart:core" as core;
static set foo(core::int* value) void {}
library;
import self as self3;
import "dart:core" as core;
static set foo(core::int* value) void {}