blob: 15c2801c4a4181818cf90f783601dcc63a959b11 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/sdk_diagnostic.dart:5:7: Error: The non-abstract class 'C' is missing implementations for these members:
// - Iterable.iterator
// Try to either
// - provide an implementation,
// - inherit an implementation from a superclass or mixin,
// - mark the class as abstract, or
// - provide a 'noSuchMethod' implementation.
//
// class C extends Iterable<Object> {
// ^
// sdk/lib/core/iterable.dart:154:19: Context: 'Iterable.iterator' is defined here.
// Iterator<E> get iterator;
// ^^^^^^^^
//
// pkg/front_end/testcases/sdk_diagnostic.dart:12:8: Warning: Too few positional arguments: 1 required, 0 given.
// print(incorrectArgument: "fisk");
// ^
// sdk/lib/core/print.dart:8:6: Context: Found this candidate, but the arguments don't match.
// void print(Object object) {
// ^^^^^
//
import self as self;
import "dart:core" as core;
class C extends core::Iterable<core::Object> {
synthetic constructor •() self::C
: super core::Iterable::•()
;
}
static method test() dynamic {
throw new core::NoSuchMethodError::withInvocation(null, new core::_InvocationMirror::_withType(#print, 32, const <core::Type>[], const <dynamic>[], core::Map::unmodifiable<core::Symbol, dynamic>(<core::Symbol, dynamic>{#incorrectArgument: "fisk"})));
}
static method main() dynamic {}