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

Documentation on variables unclear #30

Open
patrickbkr opened this issue Aug 6, 2020 · 0 comments
Open

Documentation on variables unclear #30

patrickbkr opened this issue Aug 6, 2020 · 0 comments

Comments

@patrickbkr
Copy link
Member

The documentation on variables states The <$...> syntax can be used to refer to a variable. At that point in the documentation subroutines are not introduced yet. So it's easy to assume this refers to Raku variables accessible in the context of the render-template() call.

From my experience this is not how it works. Skimming through the webapp tests, there are no tests for this either. The only tests there are test accessing template subroutine parameters.

If I'm right with this, then the documentation should be more clear on what kind of variables can actually be accessed.

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