junrushao commented on code in PR #393:
URL: https://github.com/apache/tvm-ffi/pull/393#discussion_r2677987604
##########
tests/cpp/test_reflection.cc:
##########
@@ -294,4 +294,31 @@ TEST(Reflection, AccessPath) {
auto root_parent = root->GetParent();
EXPECT_FALSE(root_parent.has_value());
}
+
+struct TestObjWithAny : public Object {
+ Any value;
+ explicit TestObjWithAny(Any value) : value(std::move(value)) {}
Review Comment:
could you also try
```suggestion
explicit TestObjWithAny(AnyView value) : value(value) {}
```
and see if it compiles?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]