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

Allowed numbers in namespaces in module input #188

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

olehermanse
Copy link
Member

We wanted to make a rhel_7_stig namespace, which seems reasonable
so let's allow it.

I've seen other langauges not allowing identifiers to start with a number
to make things less ambiguous, so let's do that.

For example, rhel_7_stig is considered an acceptable namespace, while
123, 100_000, and 1M are not, since they look like values / numbers.

We wanted to make a `rhel_7_stig` namespace, which seems reasonable
so let's allow it.

I've seen other langauges not allowing identifiers to start with a number
to make things less ambiguous, so let's do that.

For example, `rhel_7_stig` is considered an acceptable namespace, while
`123`, `100_000`, and `1M` are not, since they look like values / numbers.

Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
@olehermanse olehermanse changed the title Allowed numbers in namespaces in module input. Allowed numbers in namespaces in module input Jan 24, 2024
Copy link
Member

@nickanderson nickanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me.

@olehermanse olehermanse merged commit a378131 into cfengine:master Jan 24, 2024
7 checks passed
@olehermanse olehermanse deleted the pretty branch January 24, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants