mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 23:48:02 -05:00
Test nested assignment (that it fails as expected)
This commit is contained in:
@@ -431,9 +431,7 @@ impl<'a> ExpressionCompiler<'a> {
|
||||
|
||||
match at {
|
||||
AssignTarget::Register(treg) => {
|
||||
self.compile(&assign_expr.right, Some(treg.clone()));
|
||||
|
||||
return CompiledExpression::new(format!("%{}", treg), vec![]);
|
||||
return self.compile(&assign_expr.right, Some(treg.clone()));
|
||||
}
|
||||
AssignTarget::Member(mut obj_accessor, prop) => {
|
||||
let subscript = match prop {
|
||||
|
||||
Reference in New Issue
Block a user