results in a confusing Bud::CompileError during rewriting. This error doesn't reference the temp collection, so it's hard to identify the problem from the full traceback. In contrast, forgetting to use a symbol when defining a collection in a state block results in a helpful syntax error saying that a variable is undefined.
Attempting to declare a temp collection as
instead of
results in a confusing
Bud::CompileError
during rewriting. This error doesn't reference thetemp
collection, so it's hard to identify the problem from the full traceback. In contrast, forgetting to use a symbol when defining a collection in astate
block results in a helpful syntax error saying that a variable is undefined.