Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when using template with wrong number of arguments #462

Closed
Mi-La opened this issue Dec 6, 2022 · 0 comments
Closed
Assignees
Labels
core Zserio core module enhancement New feature or request
Milestone

Comments

@Mi-La
Copy link
Contributor

Mi-La commented Dec 6, 2022

struct Template<T>
{
    T field;
};
struct Main
{
    Template<uint32, string> template;
};

Report if there are too few / too many parameters.
Report location of the template definition.

This issue is slightly related to #430.

@Mi-La Mi-La added this to the 2.10 milestone Dec 6, 2022
@mikir mikir added enhancement New feature or request core Zserio core module labels Dec 6, 2022
@Mi-La Mi-La closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Zserio core module enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants