Fixed #2234 AS1/2 postincrement/decrement inside DefineFunction2

This commit is contained in:
Jindra Petřík
2024-08-01 21:37:16 +02:00
parent 36b6855e27
commit 5fb20268b2
10 changed files with 73 additions and 27 deletions

View File

@@ -31,7 +31,7 @@
<Include href="Tween 5.xml" itemIcon="1" loadImmediate="false" itemID="60429674-00000289" lastModified="1614976628"/>
</symbols>
<timelines>
<DOMTimeline name="Scene 1" currentFrame="87">
<DOMTimeline name="Scene 1" currentFrame="88">
<layers>
<DOMLayer name="Layer 16" color="#FF4F4F">
<frames>
@@ -761,9 +761,9 @@
</fills>
<edges>
<Edge fillStyle0="1" fillStyle1="2" edges="
!3054 7490[3050 7494 3050 7457!3050 7457[3050 7441 3159 7239!3159 7239[3270 7033 3327 6947!3327 6947[3353 6908 3412 6794!3412 6794[3470 6682 3500 6639!3500 6639[3602 6491 3649 6692!3649 6692|3713 6670!3713 6670[3760 6655 3782 6655!3782
6655[3942 6655 3985 6781!3985 6781[4007 6844 3996 6914!3996 6914[3996 6948 3999 6995!3999 6995[4000 7031 3993 7054!3993 7054[3976 7106 3860 7224!3860 7224[3847 7237 3741 7292!3741 7292[3638 7346 3616 7372!3616 7372[3594 7396 3511 7442
!3511 7442[3435 7483 3427 7483!3427 7483[3409 7483 3407 7468!3407 7468[3405 7453 3386 7453!3386 7453[3361 7468 3330 7483!3330 7483[3270 7512 3235 7512!3235 7512[3220 7512 3156 7501!3156 7501[3091 7490 3054 7490"/>
!3050 7457[3050 7441 3159 7239!3159 7239[3270 7033 3327 6947!3327 6947[3353 6908 3412 6794!3412 6794[3470 6682 3500 6639!3500 6639[3602 6491 3649 6692!3649 6692|3713 6670!3713 6670[3760 6655 3782 6655!3782 6655[3942 6655 3985 6781!3985
6781[4007 6844 3996 6914!3996 6914[3996 6948 3999 6995!3999 6995[4000 7031 3993 7054!3993 7054[3976 7106 3860 7224!3860 7224[3847 7237 3741 7292!3741 7292[3638 7346 3616 7372!3616 7372[3594 7396 3511 7442!3511 7442[3435 7483 3427 7483
!3427 7483[3409 7483 3407 7468!3407 7468[3405 7453 3386 7453!3386 7453[3361 7468 3330 7483!3330 7483[3270 7512 3235 7512!3235 7512[3220 7512 3156 7501!3156 7501[3091 7490 3054 7490!3054 7490[3050 7494 3050 7457"/>
<Edge fillStyle1="1" edges="
!2675 7305[2675 6953 2924 6704!2924 6704[3174 6454 3525 6454!3525 6454[3622 6454 3711 6474!3711 6474[3733 6454 3765 6434!3765 6434[3806 6409 3930 6340!3930 6340[4062 6261 4196 6152!4196 6152[4256 6104 4311 6071!4311 6071[4428 5999 4520
6000!4520 6000[4595 5999 4654 6049!4654 6049[4666 6059 4677 6071!4677 6071[4717 6116 4741 6186!4741 6186[4765 6256 4765 6315!4765 6315[4765 6361 4719 6443!4719 6443[4667 6534 4584 6614!4584 6614[4420 6774 4222 6815!4222 6815[4376 7028
@@ -3364,6 +3364,19 @@ trace("finish");]]></script>
</Actionscript>
<elements/>
</DOMFrame>
<DOMFrame index="88" keyMode="9728">
<Actionscript>
<script><![CDATA[trace("functionPostIncrementTest");
function myFunc()
{
var _loc2_ = 0;
var _loc3_ = {};
var _loc4_ = _loc3_[_loc2_++];
var _loc5_ = _loc3_[_loc2_--];
}]]></script>
</Actionscript>
<elements/>
</DOMFrame>
</frames>
</DOMLayer>
</layers>
@@ -3371,6 +3384,12 @@ trace("finish");]]></script>
</timelines>
<PrinterSettings/>
<publishHistory>
<PublishItem publishSize="108706" publishTime="1722540140"/>
<PublishItem publishSize="108698" publishTime="1722538202"/>
<PublishItem publishSize="108707" publishTime="1722538175"/>
<PublishItem publishSize="108698" publishTime="1722538074"/>
<PublishItem publishSize="108712" publishTime="1722538048"/>
<PublishItem publishSize="108683" publishTime="1722537974"/>
<PublishItem publishSize="108493" publishTime="1710662026"/>
<PublishItem publishSize="1157" publishTime="1710661951"/>
<PublishItem publishSize="1156" publishTime="1710661951"/>
@@ -3385,11 +3404,5 @@ trace("finish");]]></script>
<PublishItem publishSize="107872" publishTime="1638135730"/>
<PublishItem publishSize="107854" publishTime="1638131849"/>
<PublishItem publishSize="107768" publishTime="1638096020"/>
<PublishItem publishSize="107914" publishTime="1638095953"/>
<PublishItem publishSize="107914" publishTime="1638095908"/>
<PublishItem publishSize="107915" publishTime="1638095846"/>
<PublishItem publishSize="107854" publishTime="1638094581"/>
<PublishItem publishSize="107868" publishTime="1638094532"/>
<PublishItem publishSize="107862" publishTime="1638094259"/>
</publishHistory>
</DOMDocument>