In file included from unique_ptr_to_gc_managed_class.cpp:5:
./unique_ptr_to_gc_managed_class.h:14:1: warning: [blink-gc] Class 'PartObject' contains invalid fields.
class PartObject {
^
./unique_ptr_to_gc_managed_class.h:17:5: note: [blink-gc] std::unique_ptr field 'm_obj' to a GC managed class declared here:
std::unique_ptr<HeapObject> m_obj;
^
./unique_ptr_to_gc_managed_class.h:20:1: warning: [blink-gc] Class 'HeapObject' contains invalid fields.
class HeapObject : public GarbageCollected<HeapObject> {
^
./unique_ptr_to_gc_managed_class.h:25:3: note: [blink-gc] std::unique_ptr field 'm_objs' to a GC managed class declared here:
Vector<std::unique_ptr<HeapObject>> m_objs;
^
./unique_ptr_to_gc_managed_class.h:26:3: note: [blink-gc] std::unique_ptr field 'm_objs2' to a GC managed class declared here:
std::unique_ptr<HeapVector<Member<HeapObject>>> m_objs2;
^
2 warnings generated.