You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in converting some swig templates over, I found that they were failing whenever the template made use of the in operator. A failing test is contained in #659. Here is a backtrace for the failing test:
Template render error: (unknown path)
TypeError: runtime.contextOrFrameLookup(...).indexOf is not a function
at Object.exports.prettifyError (src/lib.js:9:1149)
at src/environment.js:9:23995
at root [as rootRenderFunc] (eval at <anonymous> (src/environment.js:9:27$78), <anonymous>:19:3)
at Obj.extend.render (src/environment.js:9:23652)
at render (tests/util.js:98:22)
at equal (tests/util.js:36:19)
at Context.<anonymous> (tests/compiler.js:130:13)
The text was updated successfully, but these errors were encountered:
On the subject of
if
, the documentation says:However, in converting some swig templates over, I found that they were failing whenever the template made use of the
in
operator. A failing test is contained in #659. Here is a backtrace for the failing test:The text was updated successfully, but these errors were encountered: