Repository navigation
Commit 73800c8
committed
feat(interop): D-563(a2) — Clojure 1.12 Class/.instanceMethod + Class/new method values
Smell-audited: 1: no wrapper fns minted — cljw's method ABI is already
receiver-first, so the method_table entry's method_val IS the 1.12
qualified-instance-method fn; one shared helper serves both value and
call positions (call heads fall through to analyzeCall).
(String/.length "abc") → 3, (map String/.length ["a" "bb"]) → (1 2)
(native-backed classes fall back to the tag-keyed descriptor),
(Thread/new f) / (map java.util.Date/new ms) construct via the <init>
entry, (StringBuilder/.toString (StringBuilder/new "hi")) → "hi" —
all clj-1.12-oracle-matched. Unresolvable .member / ctor-less new keep
the D3 member diagnostic. e2e: 6 new cases.1 parent 99acdd2 commit 73800c8
3 files changed
Lines changed: 53 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
618 | 643 | | |
619 | 644 | | |
620 | 645 | | |
| |||
743 | 768 | | |
744 | 769 | | |
745 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
746 | 776 | | |
747 | 777 | | |
748 | 778 | | |
| |||
914 | 944 | | |
915 | 945 | | |
916 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
917 | 952 | | |
918 | 953 | | |
919 | 954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
| |||
0 commit comments