Skip to content

Some user_asserts do not provide a message #9405

Description

@abadams

These result in compile errors that just say "Error:". Super helpful. The specific example I hit is:

https://github.com/halide/Halide/blob/main/src/Generator.h#L2539

I think we maybe just want to delete that specific assert (why can't I clobber the Func associated with a generator output?), but git grep ' user_assert.*;' | grep -v '<<' reveals many other cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    error_messageImprovements to error messages

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions