Changes between Initial Version and Version 1 of Ticket #17664, comment 20


Ignore:
Timestamp:
Feb 19, 2018, 4:12:07 PM (6 years ago)
Author:
Robert Roskam

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17664, comment 20

    initial v1  
    1 I've been able to replicate chambon's additional error report.
     1I've been able to replicate chambon's additional error report. The key difference here can be simplified this way:
     2
     3Case 1
     4
     5{{{
     6{% if a.b %}
     7}}}
     8
     9Case 2
     10
     11{{{
     12{% if a.b == 1 %}
     13}}}
     14
     15where `b` is a callable raising an error.
     16
     17My reading so far feels incomplete in this area, but the way the parser seems to work is that if there is only 1 token to evaluate. It skips all the logic to eat the error. However, if it has multiple tokens, it hits all the appropriate logic.
Back to Top