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

“Define the (static|unforgeable regular) attributes” algs say namespace is a possible argument #1291

Open
bathos opened this issue Apr 10, 2023 · 0 comments

Comments

@bathos
Copy link
Contributor

bathos commented Apr 10, 2023

The define the static attributes algorithm describes its definition parameter as an “interface or namespace”. Namespaces cannot have static attributes, though, and the algorithm is only ever invoked with interface definitions as definition arguments, so this appears to be a mistake.

The same mistake repeats in define the unforgeable regular attributes. The [LegacyUnforgeable] extended attribute isn’t applicable to attributes that are members of namespaces and the algorithm is again only invoked with interface definitions.

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

No branches or pull requests

2 participants
@bathos and others