Status: Assigned
Owner: [email protected]
CC: [email protected], [email protected]
Labels: Type-Bug Priority-Medium HW-All OS-All Area-Language
New issue 4251 by [email protected]: With should continue to use deleted
reference
https://code.google.com/p/v8/issues/detail?id=4251
The following tests are failing
'language/expressions/postfix-increment/S11.3.1_A5_T1': [FAIL],
'language/expressions/postfix-increment/S11.3.1_A5_T2': [FAIL],
'language/expressions/postfix-increment/S11.3.1_A5_T3': [FAIL],
'language/expressions/postfix-increment/S11.3.1_A5_T4': [FAIL],
'language/expressions/postfix-increment/S11.3.1_A5_T5': [FAIL],
'language/expressions/postfix-decrement/S11.3.2_A5_*': [FAIL],
'language/expressions/prefix-decrement/S11.4.5_A5_*': [FAIL],
'language/expressions/prefix-increment/S11.4.4_A5_*': [FAIL],
The reference should be evaluated once. When it gets deleted it should
continue to be used.
One example:
function testFunction() {
var x = 0;
var scope = {
get x() {
delete this.x;
return 2;
}
};
with (scope) {
x++;
}
if (scope.x !== 3) {
$ERROR('#1: scope.x === 3. Actual: ' + (scope.x));
}
if (x !== 0) {
$ERROR('#2: x === 0. Actual: ' + (x));
}
}
testFunction();
In this case, the first time we read x, the x property gets deleted, but we
then need to [[Set]] it again.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.