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

Add missing [GeneratedCode] attribute #4802

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Add missing [GeneratedCode] attribute #4802

merged 3 commits into from
Dec 11, 2023

Commits on Dec 11, 2023

  1. Add missing [GeneratedCode] attribute

    The logging code generator emits a static lambda. The lambda's containing
    function is annotated with the [GeneratedCode] attribute, but the lambda
    itself is not. The result is that code generators can get confused,
    considering the lambda as being user code.
    
    This PR adds the [GeneratedCode] attribute to the lambda.
    Martin Taillefer committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    a3f3fdc View commit details
    Browse the repository at this point in the history
  2. PR feedback

    Martin Taillefer committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    870724b View commit details
    Browse the repository at this point in the history
  3. Add return type to generated lambda

    Martin Taillefer committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    bad99be View commit details
    Browse the repository at this point in the history