Closed lvignoli closed 1 year ago
Ouch! I knew someone would stumble on this eventually, apologies. This is due to the code generator not being hygienic, so the code you write in a Pushup page can clash with runtime code needed by Pushup itself. In this case there is literally a variable named "b" that Pushup uses for outputting the results of expressions.
Thanks for the very quick fix!
Are there many problematic names? Mangling all of the runtime seems unreasonable, but a larger fix seems necessary.
In a fresh project from
pushup new
(on commitdc4b44b
), the followingindex.up
cannot be built:Output error:
Changing the variable name to
a
ori
builds fine.Observed on a MacBook Pro 2021 (M1 Pro) with macOS 13.1.