@magnusopera/fscript 0.92.4 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FScript.Language/Ast.js +27 -24
- package/dist/FScript.Language/BuiltinFunctions.js +273 -234
- package/dist/FScript.Language/BuiltinSignatures.js +1 -1
- package/dist/FScript.Language/BuiltinTypes.js +3 -5
- package/dist/FScript.Language/Eval.js +583 -532
- package/dist/FScript.Language/ExportSignatures.js +1 -1
- package/dist/FScript.Language/HostInterop.js +194 -116
- package/dist/FScript.Language/IncludeResolver.js +65 -55
- package/dist/FScript.Language/Lexer.js +175 -147
- package/dist/FScript.Language/MatchCoverage.js +12 -18
- package/dist/FScript.Language/Parser.js +561 -419
- package/dist/FScript.Language/Pretty.js +1 -1
- package/dist/FScript.Language/SupportLibrary.js +1 -1
- package/dist/FScript.Language/TaskFunctions.js +1 -1
- package/dist/FScript.Language/TaskSharingAnalysis.js +228 -202
- package/dist/FScript.Language/Token.js +55 -55
- package/dist/FScript.Language/TypeInfer.js +2767 -2027
- package/dist/FScript.Language/Types.js +312 -42
- package/dist/Library.js +8 -8
- package/package.json +1 -1
|
@@ -326,198 +326,208 @@ function valueEquals(a_mut, b_mut) {
|
|
|
326
326
|
valueEquals:
|
|
327
327
|
while (true) {
|
|
328
328
|
const a = a_mut, b = b_mut;
|
|
329
|
-
let matchResult, x, y, x_1, y_1, x_2, y_2, x_3, y_3, xs, ys, xs_1, ys_1,
|
|
329
|
+
let matchResult, x, y, x_1, y_1, x_2, y_2, x_3, y_3, xs, ys, xs_1, ys_1, left_1, right_1, value_11;
|
|
330
330
|
switch (a.tag) {
|
|
331
331
|
case 0: {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
xf = activePatternResult;
|
|
342
|
-
yf = activePatternResult_1;
|
|
332
|
+
switch (b.tag) {
|
|
333
|
+
case 0: {
|
|
334
|
+
matchResult = 0;
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
case 16: {
|
|
338
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
339
|
+
matchResult = 8;
|
|
340
|
+
value_11 = b.fields[0];
|
|
343
341
|
}
|
|
344
342
|
else {
|
|
345
|
-
matchResult =
|
|
343
|
+
matchResult = 9;
|
|
346
344
|
}
|
|
345
|
+
break;
|
|
347
346
|
}
|
|
348
|
-
|
|
349
|
-
matchResult =
|
|
350
|
-
}
|
|
347
|
+
default:
|
|
348
|
+
matchResult = 9;
|
|
351
349
|
}
|
|
352
350
|
break;
|
|
353
351
|
}
|
|
354
352
|
case 1: {
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
xf = activePatternResult_2;
|
|
367
|
-
yf = activePatternResult_3;
|
|
353
|
+
switch (b.tag) {
|
|
354
|
+
case 1: {
|
|
355
|
+
matchResult = 1;
|
|
356
|
+
x = a.fields[0];
|
|
357
|
+
y = b.fields[0];
|
|
358
|
+
break;
|
|
359
|
+
}
|
|
360
|
+
case 16: {
|
|
361
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
362
|
+
matchResult = 8;
|
|
363
|
+
value_11 = b.fields[0];
|
|
368
364
|
}
|
|
369
365
|
else {
|
|
370
|
-
matchResult =
|
|
366
|
+
matchResult = 9;
|
|
371
367
|
}
|
|
368
|
+
break;
|
|
372
369
|
}
|
|
373
|
-
|
|
374
|
-
matchResult =
|
|
375
|
-
}
|
|
370
|
+
default:
|
|
371
|
+
matchResult = 9;
|
|
376
372
|
}
|
|
377
373
|
break;
|
|
378
374
|
}
|
|
379
375
|
case 2: {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
xf = activePatternResult_4;
|
|
392
|
-
yf = activePatternResult_5;
|
|
376
|
+
switch (b.tag) {
|
|
377
|
+
case 2: {
|
|
378
|
+
matchResult = 2;
|
|
379
|
+
x_1 = a.fields[0];
|
|
380
|
+
y_1 = b.fields[0];
|
|
381
|
+
break;
|
|
382
|
+
}
|
|
383
|
+
case 16: {
|
|
384
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
385
|
+
matchResult = 8;
|
|
386
|
+
value_11 = b.fields[0];
|
|
393
387
|
}
|
|
394
388
|
else {
|
|
395
|
-
matchResult =
|
|
389
|
+
matchResult = 9;
|
|
396
390
|
}
|
|
391
|
+
break;
|
|
397
392
|
}
|
|
398
|
-
|
|
399
|
-
matchResult =
|
|
400
|
-
}
|
|
393
|
+
default:
|
|
394
|
+
matchResult = 9;
|
|
401
395
|
}
|
|
402
396
|
break;
|
|
403
397
|
}
|
|
404
398
|
case 3: {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
xf = activePatternResult_6;
|
|
417
|
-
yf = activePatternResult_7;
|
|
399
|
+
switch (b.tag) {
|
|
400
|
+
case 3: {
|
|
401
|
+
matchResult = 3;
|
|
402
|
+
x_2 = a.fields[0];
|
|
403
|
+
y_2 = b.fields[0];
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
case 16: {
|
|
407
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
408
|
+
matchResult = 8;
|
|
409
|
+
value_11 = b.fields[0];
|
|
418
410
|
}
|
|
419
411
|
else {
|
|
420
|
-
matchResult =
|
|
412
|
+
matchResult = 9;
|
|
421
413
|
}
|
|
414
|
+
break;
|
|
422
415
|
}
|
|
423
|
-
|
|
424
|
-
matchResult =
|
|
425
|
-
}
|
|
416
|
+
default:
|
|
417
|
+
matchResult = 9;
|
|
426
418
|
}
|
|
427
419
|
break;
|
|
428
420
|
}
|
|
429
421
|
case 4: {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
xf = activePatternResult_8;
|
|
442
|
-
yf = activePatternResult_9;
|
|
422
|
+
switch (b.tag) {
|
|
423
|
+
case 4: {
|
|
424
|
+
matchResult = 4;
|
|
425
|
+
x_3 = a.fields[0];
|
|
426
|
+
y_3 = b.fields[0];
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
case 16: {
|
|
430
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
431
|
+
matchResult = 8;
|
|
432
|
+
value_11 = b.fields[0];
|
|
443
433
|
}
|
|
444
434
|
else {
|
|
445
|
-
matchResult =
|
|
435
|
+
matchResult = 9;
|
|
446
436
|
}
|
|
437
|
+
break;
|
|
447
438
|
}
|
|
448
|
-
|
|
449
|
-
matchResult =
|
|
450
|
-
}
|
|
439
|
+
default:
|
|
440
|
+
matchResult = 9;
|
|
451
441
|
}
|
|
452
442
|
break;
|
|
453
443
|
}
|
|
454
444
|
case 5: {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
xf = activePatternResult_10;
|
|
467
|
-
yf = activePatternResult_11;
|
|
445
|
+
switch (b.tag) {
|
|
446
|
+
case 5: {
|
|
447
|
+
matchResult = 5;
|
|
448
|
+
xs = a.fields[0];
|
|
449
|
+
ys = b.fields[0];
|
|
450
|
+
break;
|
|
451
|
+
}
|
|
452
|
+
case 16: {
|
|
453
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
454
|
+
matchResult = 8;
|
|
455
|
+
value_11 = b.fields[0];
|
|
468
456
|
}
|
|
469
457
|
else {
|
|
470
|
-
matchResult =
|
|
458
|
+
matchResult = 9;
|
|
471
459
|
}
|
|
460
|
+
break;
|
|
472
461
|
}
|
|
473
|
-
|
|
474
|
-
matchResult =
|
|
475
|
-
}
|
|
462
|
+
default:
|
|
463
|
+
matchResult = 9;
|
|
476
464
|
}
|
|
477
465
|
break;
|
|
478
466
|
}
|
|
479
467
|
case 6: {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
xf = activePatternResult_12;
|
|
492
|
-
yf = activePatternResult_13;
|
|
468
|
+
switch (b.tag) {
|
|
469
|
+
case 6: {
|
|
470
|
+
matchResult = 6;
|
|
471
|
+
xs_1 = a.fields[0];
|
|
472
|
+
ys_1 = b.fields[0];
|
|
473
|
+
break;
|
|
474
|
+
}
|
|
475
|
+
case 16: {
|
|
476
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
477
|
+
matchResult = 8;
|
|
478
|
+
value_11 = b.fields[0];
|
|
493
479
|
}
|
|
494
480
|
else {
|
|
495
|
-
matchResult =
|
|
481
|
+
matchResult = 9;
|
|
496
482
|
}
|
|
483
|
+
break;
|
|
497
484
|
}
|
|
498
|
-
|
|
499
|
-
matchResult =
|
|
500
|
-
}
|
|
485
|
+
default:
|
|
486
|
+
matchResult = 9;
|
|
501
487
|
}
|
|
502
488
|
break;
|
|
503
489
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
const activePatternResult_15 = $007CRecordFields$007C_$007C(b);
|
|
508
|
-
if (activePatternResult_15 != null) {
|
|
490
|
+
case 16: {
|
|
491
|
+
if (b.tag === 16) {
|
|
492
|
+
if (!(isEmpty(a.fields[0].Descriptor.TypeParameters) && isEmpty(b.fields[0].Descriptor.TypeParameters))) {
|
|
509
493
|
matchResult = 7;
|
|
510
|
-
|
|
511
|
-
|
|
494
|
+
left_1 = a.fields[0];
|
|
495
|
+
right_1 = b.fields[0];
|
|
512
496
|
}
|
|
513
|
-
else {
|
|
497
|
+
else if (!isEmpty(a.fields[0].Descriptor.TypeParameters)) {
|
|
514
498
|
matchResult = 8;
|
|
499
|
+
value_11 = a.fields[0];
|
|
500
|
+
}
|
|
501
|
+
else if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
502
|
+
matchResult = 8;
|
|
503
|
+
value_11 = b.fields[0];
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
matchResult = 9;
|
|
515
507
|
}
|
|
516
508
|
}
|
|
517
|
-
else {
|
|
509
|
+
else if (!isEmpty(a.fields[0].Descriptor.TypeParameters)) {
|
|
518
510
|
matchResult = 8;
|
|
511
|
+
value_11 = a.fields[0];
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
matchResult = 9;
|
|
519
515
|
}
|
|
516
|
+
break;
|
|
520
517
|
}
|
|
518
|
+
default:
|
|
519
|
+
if (b.tag === 16) {
|
|
520
|
+
if (!isEmpty(b.fields[0].Descriptor.TypeParameters)) {
|
|
521
|
+
matchResult = 8;
|
|
522
|
+
value_11 = b.fields[0];
|
|
523
|
+
}
|
|
524
|
+
else {
|
|
525
|
+
matchResult = 9;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
else {
|
|
529
|
+
matchResult = 9;
|
|
530
|
+
}
|
|
521
531
|
}
|
|
522
532
|
switch (matchResult) {
|
|
523
533
|
case 0:
|
|
@@ -545,137 +555,166 @@ function valueEquals(a_mut, b_mut) {
|
|
|
545
555
|
return false;
|
|
546
556
|
}
|
|
547
557
|
case 7:
|
|
548
|
-
if (
|
|
549
|
-
return
|
|
558
|
+
if (left_1.Descriptor.Name === right_1.Descriptor.Name) {
|
|
559
|
+
return left_1.Payload === right_1.Payload;
|
|
550
560
|
}
|
|
551
561
|
else {
|
|
552
562
|
return false;
|
|
553
563
|
}
|
|
564
|
+
case 8:
|
|
565
|
+
return false;
|
|
554
566
|
default: {
|
|
555
|
-
let matchResult_1,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
else {
|
|
564
|
-
matchResult_1 = 5;
|
|
565
|
-
}
|
|
566
|
-
break;
|
|
567
|
+
let matchResult_1, xf, yf;
|
|
568
|
+
const activePatternResult = $007CRecordFields$007C_$007C(a);
|
|
569
|
+
if (activePatternResult != null) {
|
|
570
|
+
const activePatternResult_1 = $007CRecordFields$007C_$007C(b);
|
|
571
|
+
if (activePatternResult_1 != null) {
|
|
572
|
+
matchResult_1 = 0;
|
|
573
|
+
xf = activePatternResult;
|
|
574
|
+
yf = activePatternResult_1;
|
|
567
575
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
if (b.tag === 9) {
|
|
571
|
-
if (b.fields[0] != null) {
|
|
572
|
-
matchResult_1 = 2;
|
|
573
|
-
x_4 = a.fields[0];
|
|
574
|
-
y_4 = b.fields[0];
|
|
575
|
-
}
|
|
576
|
-
else {
|
|
577
|
-
matchResult_1 = 5;
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
else {
|
|
581
|
-
matchResult_1 = 5;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
else if (b.tag === 9) {
|
|
585
|
-
if (b.fields[0] == null) {
|
|
586
|
-
matchResult_1 = 1;
|
|
587
|
-
}
|
|
588
|
-
else {
|
|
589
|
-
matchResult_1 = 5;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
else {
|
|
593
|
-
matchResult_1 = 5;
|
|
594
|
-
}
|
|
595
|
-
break;
|
|
596
|
-
}
|
|
597
|
-
case 10: {
|
|
598
|
-
if (b.tag === 10) {
|
|
599
|
-
matchResult_1 = 3;
|
|
600
|
-
cx = a.fields[1];
|
|
601
|
-
cy = b.fields[1];
|
|
602
|
-
px = a.fields[2];
|
|
603
|
-
py = b.fields[2];
|
|
604
|
-
tx = a.fields[0];
|
|
605
|
-
ty = b.fields[0];
|
|
606
|
-
}
|
|
607
|
-
else {
|
|
608
|
-
matchResult_1 = 5;
|
|
609
|
-
}
|
|
610
|
-
break;
|
|
611
|
-
}
|
|
612
|
-
case 12: {
|
|
613
|
-
if (b.tag === 12) {
|
|
614
|
-
matchResult_1 = 4;
|
|
615
|
-
tx_1 = a.fields[0];
|
|
616
|
-
ty_1 = b.fields[0];
|
|
617
|
-
}
|
|
618
|
-
else {
|
|
619
|
-
matchResult_1 = 5;
|
|
620
|
-
}
|
|
621
|
-
break;
|
|
576
|
+
else {
|
|
577
|
+
matchResult_1 = 1;
|
|
622
578
|
}
|
|
623
|
-
|
|
624
|
-
|
|
579
|
+
}
|
|
580
|
+
else {
|
|
581
|
+
matchResult_1 = 1;
|
|
625
582
|
}
|
|
626
583
|
switch (matchResult_1) {
|
|
627
584
|
case 0:
|
|
628
|
-
if (FSharpMap__get_Count(
|
|
629
|
-
return forAll((
|
|
585
|
+
if (FSharpMap__get_Count(xf) === FSharpMap__get_Count(yf)) {
|
|
586
|
+
return forAll((key, value_12) => exists((b_3) => valueEquals(value_12, b_3), toArray(tryFind(key, yf))), xf);
|
|
630
587
|
}
|
|
631
588
|
else {
|
|
632
589
|
return false;
|
|
633
590
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
if ((tx === ty) && (cx === cy)) {
|
|
643
|
-
let matchResult_2, xv, yv;
|
|
644
|
-
if (px != null) {
|
|
645
|
-
if (py != null) {
|
|
646
|
-
matchResult_2 = 1;
|
|
647
|
-
xv = px;
|
|
648
|
-
yv = py;
|
|
591
|
+
default: {
|
|
592
|
+
let matchResult_2, xf_1, yf_1, x_4, y_4, cx, cy, px, py, tx, ty, tx_1, ty_1;
|
|
593
|
+
switch (a.tag) {
|
|
594
|
+
case 8: {
|
|
595
|
+
if (b.tag === 8) {
|
|
596
|
+
matchResult_2 = 0;
|
|
597
|
+
xf_1 = a.fields[0];
|
|
598
|
+
yf_1 = b.fields[0];
|
|
649
599
|
}
|
|
650
600
|
else {
|
|
651
|
-
matchResult_2 =
|
|
601
|
+
matchResult_2 = 5;
|
|
652
602
|
}
|
|
603
|
+
break;
|
|
653
604
|
}
|
|
654
|
-
|
|
655
|
-
|
|
605
|
+
case 9: {
|
|
606
|
+
if (a.fields[0] != null) {
|
|
607
|
+
if (b.tag === 9) {
|
|
608
|
+
if (b.fields[0] != null) {
|
|
609
|
+
matchResult_2 = 2;
|
|
610
|
+
x_4 = a.fields[0];
|
|
611
|
+
y_4 = b.fields[0];
|
|
612
|
+
}
|
|
613
|
+
else {
|
|
614
|
+
matchResult_2 = 5;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
else {
|
|
618
|
+
matchResult_2 = 5;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
else if (b.tag === 9) {
|
|
622
|
+
if (b.fields[0] == null) {
|
|
623
|
+
matchResult_2 = 1;
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
matchResult_2 = 5;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
matchResult_2 = 5;
|
|
631
|
+
}
|
|
632
|
+
break;
|
|
656
633
|
}
|
|
657
|
-
|
|
658
|
-
|
|
634
|
+
case 10: {
|
|
635
|
+
if (b.tag === 10) {
|
|
636
|
+
matchResult_2 = 3;
|
|
637
|
+
cx = a.fields[1];
|
|
638
|
+
cy = b.fields[1];
|
|
639
|
+
px = a.fields[2];
|
|
640
|
+
py = b.fields[2];
|
|
641
|
+
tx = a.fields[0];
|
|
642
|
+
ty = b.fields[0];
|
|
643
|
+
}
|
|
644
|
+
else {
|
|
645
|
+
matchResult_2 = 5;
|
|
646
|
+
}
|
|
647
|
+
break;
|
|
659
648
|
}
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
b_mut = yv;
|
|
666
|
-
continue valueEquals;
|
|
649
|
+
case 12: {
|
|
650
|
+
if (b.tag === 12) {
|
|
651
|
+
matchResult_2 = 4;
|
|
652
|
+
tx_1 = a.fields[0];
|
|
653
|
+
ty_1 = b.fields[0];
|
|
667
654
|
}
|
|
668
|
-
|
|
669
|
-
|
|
655
|
+
else {
|
|
656
|
+
matchResult_2 = 5;
|
|
657
|
+
}
|
|
658
|
+
break;
|
|
670
659
|
}
|
|
660
|
+
default:
|
|
661
|
+
matchResult_2 = 5;
|
|
671
662
|
}
|
|
672
|
-
|
|
673
|
-
|
|
663
|
+
switch (matchResult_2) {
|
|
664
|
+
case 0:
|
|
665
|
+
if (FSharpMap__get_Count(xf_1) === FSharpMap__get_Count(yf_1)) {
|
|
666
|
+
return forAll((key_1, value_13) => exists((b_4) => valueEquals(value_13, b_4), toArray(tryFind(key_1, yf_1))), xf_1);
|
|
667
|
+
}
|
|
668
|
+
else {
|
|
669
|
+
return false;
|
|
670
|
+
}
|
|
671
|
+
case 1:
|
|
672
|
+
return true;
|
|
673
|
+
case 2: {
|
|
674
|
+
a_mut = x_4;
|
|
675
|
+
b_mut = y_4;
|
|
676
|
+
continue valueEquals;
|
|
677
|
+
}
|
|
678
|
+
case 3:
|
|
679
|
+
if ((tx === ty) && (cx === cy)) {
|
|
680
|
+
let matchResult_3, xv, yv;
|
|
681
|
+
if (px != null) {
|
|
682
|
+
if (py != null) {
|
|
683
|
+
matchResult_3 = 1;
|
|
684
|
+
xv = px;
|
|
685
|
+
yv = py;
|
|
686
|
+
}
|
|
687
|
+
else {
|
|
688
|
+
matchResult_3 = 2;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
else if (py == null) {
|
|
692
|
+
matchResult_3 = 0;
|
|
693
|
+
}
|
|
694
|
+
else {
|
|
695
|
+
matchResult_3 = 2;
|
|
696
|
+
}
|
|
697
|
+
switch (matchResult_3) {
|
|
698
|
+
case 0:
|
|
699
|
+
return true;
|
|
700
|
+
case 1: {
|
|
701
|
+
a_mut = xv;
|
|
702
|
+
b_mut = yv;
|
|
703
|
+
continue valueEquals;
|
|
704
|
+
}
|
|
705
|
+
default:
|
|
706
|
+
return false;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
else {
|
|
710
|
+
return false;
|
|
711
|
+
}
|
|
712
|
+
case 4:
|
|
713
|
+
return equals_1(tx_1, ty_1);
|
|
714
|
+
default:
|
|
715
|
+
return false;
|
|
674
716
|
}
|
|
675
|
-
|
|
676
|
-
return equals_1(tx_1, ty_1);
|
|
677
|
-
default:
|
|
678
|
-
return false;
|
|
717
|
+
}
|
|
679
718
|
}
|
|
680
719
|
}
|
|
681
720
|
}
|