Index: runtime/vm/class_finalizer.cc |
diff --git a/runtime/vm/class_finalizer.cc b/runtime/vm/class_finalizer.cc |
index c8683eeb69f22d94bd1f14990e02c52ee4699676..61660f04a88c8dbbc8ee141e6c6f46f4b5d07380 100644 |
--- a/runtime/vm/class_finalizer.cc |
+++ b/runtime/vm/class_finalizer.cc |
@@ -1468,6 +1468,7 @@ void ClassFinalizer::ResolveAndFinalizeMemberTypes(const Class& cls) { |
/* is_native = */ false, cls, field.token_pos())); |
getter.set_result_type(type); |
getter.set_is_debuggable(false); |
+ getter.set_kernel_function(field.kernel_field()); |
cls.AddFunction(getter); |
field.SetStaticValue(Object::sentinel(), true); |
} |