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

Unified Diff: runtime/vm/object.h

Issue 27610002: Instantations of mixins and interfaces. Equality of type parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: check for resolved typeclass Created 7 years, 2 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: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index fb0cb8ac8d2030cc75d265c40352dab3627ed6f2..387b7342767efaa66ede3877fb27bd9e3b949900 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -709,6 +709,14 @@ class Class : public Object {
// in superclass clauses.
RawAbstractType* RareType() const;
+ // Return the Type whose arguments are the type parameters declared by this
+ // class preceded by the type arguments declared for superclasses, etc.
+ // e.g. given
+ // class B<T, S>
+ // class C<R> extends B<R, int>
+ // C.DeclarationType() --> C [R, int, R]
+ RawAbstractType* DeclarationType() const;
+
RawLibrary* library() const { return raw_ptr()->library_; }
void set_library(const Library& value) const;

Powered by Google App Engine
This is Rietveld 408576698