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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 11125005: Support for type dynamic in VM (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 13630)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -2661,7 +2661,7 @@
const Class& cls = Class::Cast(obj);
const Array& func_array = Array::Handle(cls.functions());
- // Some special types like 'Dynamic' have a null functions list.
+ // Some special types like 'dynamic' have a null functions list.
if (!func_array.IsNull()) {
for (intptr_t i = 0; i < func_array.Length(); ++i) {
func ^= func_array.At(i);
@@ -2916,7 +2916,7 @@
if (func.kind() == RawFunction::kConstructor) {
// Special case the return type for constructors. Inside the vm
- // we mark them as returning Dynamic, but for the purposes of
+ // we mark them as returning dynamic, but for the purposes of
// reflection, they return the type of the class being
// constructed.
return Api::NewHandle(isolate, func.Owner());
@@ -3001,9 +3001,9 @@
const Class& cls = Class::Cast(obj);
const Array& field_array = Array::Handle(cls.fields());
- // Some special types like 'Dynamic' have a null fields list.
+ // Some special types like 'dynamic' have a null fields list.
//
- // TODO(turnidge): Fix 'Dynamic' so that it does not have a null
+ // TODO(turnidge): Fix 'dynamic' so that it does not have a null
// fields list. This will have to wait until the empty array is
// allocated in the vm isolate.
if (!field_array.IsNull()) {
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698