-
Notifications
You must be signed in to change notification settings - Fork 79
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
feat(lib): Add render tag #472
Conversation
} | ||
|
||
fn description(&self) -> &str { | ||
"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind putting one in?
82d9d0e
to
e414002
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for the long delay; somehow I lost track of this.
// given that we're at the end of the loop body | ||
// already, dealing with a `continue` signal is just | ||
// clearing the interrupt and carrying on as normal. A | ||
// `break` requires some special handling, though. | ||
let current_interrupt = | ||
scope.registers().get_mut::<InterruptRegister>().reset(); | ||
if let Some(Interrupt::Break) = current_interrupt { | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need any tests for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is pretty much an exact copy from here, in this project. I can't see any specific tests for it there.
e414002
to
f92d84c
Compare
No worries, I completely forgot about this too. |
... no idea why my push closed this but it won't let me re-open. I'll create a new PR |
This is now superseded by #506 Felt bad at how slow I've been at getting back to you so I went ahead and wrapped this up
|
v0.26.4 is now out with |
Hey, here's my PR for #471.
See the description including
OpaqueStackFrame
struct, I needed a way to make sure that only the variables passed into therender
tag could be accessed from inside it.key: value
syntax or withwith <var> [as <var>]
for <value> [as <var>]
and the template has access toforloop
ForloopObject
andRange
structs into a parent module, this is because I wanted to use them for thefor
variant of therender
tag.