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

Recursion seems to break it #19

Open
alainux opened this issue Jul 7, 2016 · 0 comments
Open

Recursion seems to break it #19

alainux opened this issue Jul 7, 2016 · 0 comments

Comments

@alainux
Copy link

alainux commented Jul 7, 2016

I am trying it out of a fresh install with this stylus code:

recurse(z = 0)
  padding z * 1em

  unless z > 4
    .recurse
      recurse(z + 1)

.recurse
  recurse()

The code works on the standalone (cli and api) stylus package v0.54.5, but it does not compile here (Maximum call stack exceeded in node_modules/stylus/lib/visitor/deps-resolver.js:45)

I am not sure if this is the right place to place this issue.

Any ideas?
Thank you

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

No branches or pull requests

1 participant