Lasso Soft Inc. > Home

RhinoTrac

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.

Lasso 9 Issues



Ticket #8093: Crash when attempting decompositional assignment on vars

Reported by:
Eric Knibbe
Date:
05 Apr, 2017
Priority:
minor
Component:
Lasso 9
Version:
9.3
Keywords:
Platform:
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)"
A Failure
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.
Please log in to your LassoSoft account to comment

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft