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

Decorators on param, using, and extends statements raise no errors #16505

Open
jeskew opened this issue Feb 25, 2025 · 0 comments
Open

Decorators on param, using, and extends statements raise no errors #16505

jeskew opened this issue Feb 25, 2025 · 0 comments

Comments

@jeskew
Copy link
Member

jeskew commented Feb 25, 2025

param, using, and extends statements do not support decorators, but you can supply them without raising any diagnostics. The decorators have no effect on the compiled output and are not validated. For example:

@foo('bar')
using 'foo.bicep'

@notARealDecorator(1, 2, module 34)
param fizz = 'buzz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant