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

Will it be possible to export/forward members starting in _ or -? #2636

Closed
mirisuzanne opened this issue Oct 3, 2018 · 3 comments
Closed

Comments

@mirisuzanne
Copy link
Contributor

I'm working on a tool to help manage css variables, and we've been considering e.g. @mixin --color() to reflect the custom property syntax. If I understand right, that would be considered a private function by the new module proposal. How strict is that rule, and can it be overridden?

I'm not sure this warrants a "feature request" as much as an answer. I was curious, and wondered what you're thinking.

@nex3
Copy link
Contributor

nex3 commented Oct 9, 2018

The plan is not to allow this. We could add an explicit exception for -- though, if you'd like.

@mirisuzanne
Copy link
Contributor Author

I'd use it if it's available, but only if that exception makes sense for the language. It is a useful way to reference css custom properties.

@nex3
Copy link
Contributor

nex3 commented Oct 10, 2018

I think I'll leave it as-is for now. We can always add this exception later if people ask for it.

@nex3 nex3 closed this as completed Oct 10, 2018
@nex3 nex3 transferred this issue from another repository Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants