10#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
16 "file:///test-app.dart",
23 "class B extends A {\n"
26 "class C extends B with M {\n"
27 " bar() => super._bar();\n"
30 " return new C().bar();\n"
46TEST_CASE(Mixin_PrivateSuperResolutionCrossLibraryShouldFail) {
50 "file:///test-app.dart",
51 "import 'test-lib.dart';\n"
52 "class D extends B with M {\n"
53 " bar() => super._bar();\n"
57 " return new D().bar();\n"
59 " return e.toString().split('\\n').first;\n"
64 "file:///test-lib.dart",
72 "class B extends A {\n"
75 "class C extends B with M {\n"
76 " bar() => super._bar();\n"
80 "file:///.packages",
"untitled:/"
87 EXPECT_ERROR(lib,
"Error: Superclass has no method named '_bar'.");
static Dart_Handle LoadTestScriptWithDFE(int sourcefiles_count, Dart_SourceFile sourcefiles[], Dart_NativeEntryResolver resolver=nullptr, bool finalize=true, bool incrementally=true, bool allow_compile_errors=false, const char *entry_script_uri=nullptr, const char *multiroot_filepaths=nullptr, const char *multiroot_scheme=nullptr)
struct _Dart_Handle * Dart_Handle
DART_EXPORT Dart_Handle Dart_Invoke(Dart_Handle target, Dart_Handle name, int number_of_arguments, Dart_Handle *arguments)
TEST_CASE(DirectoryCurrent)
Dart_Handle NewString(const char *str)
DART_EXPORT Dart_Handle Dart_IntegerToInt64(Dart_Handle integer, int64_t *value)
#define EXPECT_ERROR(handle, substring)
#define EXPECT_VALID(handle)