LassoSoft Ticket Tracking System
NOTE: If you are using Lasso Server 9.3 please Log your ticket directly via the LUX admin as this will give us more information about your issue.
Ticket #8093: Crash when attempting decompositional assignment on vars
- Reported by:
- Eric Knibbe
- 05 Apr, 2017
- Lasso 9
Please log in to your LassoSoft account to comment
When run in the interpreter:
>: var(one, two, three, four) = (: 1, 2, 3, 4)
Assertion failed: (dynamic_cast<local_t*>(expr->lhs)), function assign_expr_handler, file /Users/eric/Developer/source.lassosoft.com/lasso9.3_llvm/trunk/runtime/lasso9_interpreter.cpp, line 1221.
Abort trap: 6
When run without the interpreter:
LASSO9_NO_INTERPRETER=1 lasso9 -s "var(one, two, three, four) = (: 1, 2, 3, 4)"
Error Code: -1
Error Msg: Compiler error. source: Only a local variable, thread variable or data member can be assigned to line: 1, col: 28
If decompositional assignment can't be added to vars, it at least should fail gracefully.