Commit d3a1f7a
committed
Simplify circular reference detection logic
Remove unnecessary goto label and complex nil checks. Circular reference
checking now uses simpler flow control while maintaining the same behavior:
all schemas (local and external) are checked for circular references.
- Remove goto/label construct
- Simplify rolodex nil handling
- Restore upstream code style (nope comments, double parens)
- Revert test expectations to match upstream1 parent 228b2c9 commit d3a1f7a
2 files changed
+13
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
483 | 488 | | |
484 | 489 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 490 | | |
502 | 491 | | |
503 | 492 | | |
| |||
515 | 504 | | |
516 | 505 | | |
517 | 506 | | |
| 507 | + | |
518 | 508 | | |
519 | 509 | | |
520 | 510 | | |
| |||
532 | 522 | | |
533 | 523 | | |
534 | 524 | | |
| 525 | + | |
535 | 526 | | |
536 | 527 | | |
537 | 528 | | |
538 | 529 | | |
539 | 530 | | |
540 | 531 | | |
541 | | - | |
542 | | - | |
543 | 532 | | |
544 | 533 | | |
545 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | 411 | | |
| 412 | + | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
0 commit comments