junrushao opened a new pull request, #43:
URL: https://github.com/apache/tvm-ffi/pull/43

   Previously when defining a `c_class`, when RHS invokes a 
`dataclasses.field(...)`, as exemplified below:
   
   ```python
   v_str: str = field(default_factory=lambda: "default") 
   ```
   
   we will get a warning saying
   
   ```
   error: Incompatible types in assignment (expression has type "Field", 
variable has type "str")  [assignment]
   ```
   
   This PR fixes this issue


-- 
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]

Reply via email to