Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: pkg/front_end/testcases/inference/abstract_class_instantiation.dart.direct.expect

Issue 2972873002: Create more synthetic kernel objects. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/abstract_class_instantiation.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/abstract_class_instantiation.dart.direct.expect b/pkg/front_end/testcases/inference/abstract_class_instantiation.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..0e16b13acb426601cfef5944c0c7c5f7b604cc7b
--- /dev/null
+++ b/pkg/front_end/testcases/inference/abstract_class_instantiation.dart.direct.expect
@@ -0,0 +1,20 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class C extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+abstract class D<T extends core::Object> extends core::Object {
+ constructor •(self::D::T t) → void
+ : super core::Object::•()
+ ;
+}
+static method test() → void {
+ dynamic x = throw new core::AbstractClassInstantiationError::•("C");
+ dynamic y = let final dynamic #t1 = 1 in throw new core::AbstractClassInstantiationError::•("D");
+ self::D<core::List<core::int>> z = let final dynamic #t2 = <dynamic>[] in throw new core::AbstractClassInstantiationError::•("D");
+}
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698