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

Fix stack overflows with page(func, func) #117

Merged
merged 2 commits into from
Dec 6, 2020

Conversation

cmcaine
Copy link
Collaborator

@cmcaine cmcaine commented Dec 6, 2020

Maybe these are no big deal, but I think if passing 1 or 3 functions to page calls page([], app...), 2 functions should also call that.

I think another decent option would be to deprecate page(func, path).

Also applies to route.

For symmetry with page() and to get rid of stack overflows on
route(f, f).
@jpsamaroo jpsamaroo merged commit 43d9bf4 into JuliaWeb:master Dec 6, 2020
@jpsamaroo
Copy link
Collaborator

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants