MasterJH5574 opened a new pull request, #13981: URL: https://github.com/apache/tvm/pull/13981
_**This PR is a cherry-pick of #13977.**_ --- This PR supports creating a diagnostic error from an arbitrary Object. Given that we are bringing the diagnostic error for general uses in the long term, in which case * not every Expr necessarily has a span, * we have well-implemented elegant location-aware printer for an object itself, * we may need to print some object other than Expr, or does even not have a span field, we support diagnostic error with arbitrary object to denote the location. Co-authored-by: Tianqi Chen <[email protected]> -- 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]
