Project

General

Profile

Actions

Bug #4014

closed

Concatenation in left hand side expressions

Added by Andrei Tatarnikov about 11 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
03/17/2013
Due date:
04/30/2014
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.3.31

Description

Логика выражений типа M [0] :: M [1] = R [4] некорректна. Она должна означать:

M [0] = R [4];
M [1] = R [4]

Вот что написано в драфте Фредерикса:

<<<<<<<<<<<<<<<<<<<<<<
4.10 Concatenation of Values

The :: operator allows the concatenation of arbitrary expressions; it is de ned on the left side of
assignments, too (if the expressions denote memory locations only, of course). For example,
M [0] :: M [1] = R [4]
assigns the value of R [4] to the locations M [0] and M [1]. The order is the same as used in sequences
of locations, i.e., essentially unde ned.

Нужно найти решение.

Actions

Also available in: Atom PDF