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

function-exists() and mixin-exists() return false for local definitions #2831

Closed
nex3 opened this issue Feb 16, 2019 · 0 comments
Closed

function-exists() and mixin-exists() return false for local definitions #2831

nex3 opened this issue Feb 16, 2019 · 0 comments

Comments

@nex3
Copy link
Contributor

nex3 commented Feb 16, 2019

Both function-exists() and mixin-exists() should return true for functions or mixins (respectively) defined in local scopes, as so:

.scope {
  @function local-function() {@return null}
  @debug function-exists(local-function);

  @mixin local-mixin() {}
  @debug mixin-exists(local-mixin);
}

Both of these @debugs should print true, but they currently print false.

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

No branches or pull requests

2 participants