Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 562d2c3a0265ba3f78ecc2db4f20e52a67dba516..254ec19db168bd8e88a05e0b30c79e670626ab11 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -1876,7 +1876,7 @@ class Function : public Object { |
static const char* KindToCString(RawFunction::Kind kind); |
- bool IsConstructor() const { |
+ bool IsGenerativeConstructor() const { |
return (kind() == RawFunction::kConstructor) && !is_static(); |
} |
bool IsImplicitConstructor() const; |