Commit e45baf9
authored
Add some <ocaml repr="classic"> to a few SCA types (#366)
I don't like polymorphic variants (`Xxx) and prefer classic variants.
Also rename transitivity to dependency_kind
test plan:
see related PR in semgrep
- [x] I ran `make setup && make` to update the generated code after
editing a `.atd` file (TODO: have a CI check)
- [x] I made sure we're still backward compatible with old versions of
the CLI.
For example, the Semgrep backend need to still be able to *consume* data
generated by Semgrep 1.50.0.
See
https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
Note that the types related to the semgrep-core JSON output or the
semgrep-core RPC do not need to be backward compatible!1 parent 68e5129 commit e45baf9
File tree
7 files changed
+2882
-2855
lines changed7 files changed
+2882
-2855
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
521 | | - | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
| 534 | + | |
533 | 535 | | |
534 | 536 | | |
535 | 537 | | |
536 | 538 | | |
537 | 539 | | |
538 | 540 | | |
539 | 541 | | |
540 | | - | |
| 542 | + | |
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
| |||
565 | 567 | | |
566 | 568 | | |
567 | 569 | | |
568 | | - | |
| 570 | + | |
569 | 571 | | |
570 | 572 | | |
571 | 573 | | |
| |||
640 | 642 | | |
641 | 643 | | |
642 | 644 | | |
643 | | - | |
| 645 | + | |
644 | 646 | | |
645 | 647 | | |
646 | 648 | | |
| |||
2225 | 2227 | | |
2226 | 2228 | | |
2227 | 2229 | | |
2228 | | - | |
| 2230 | + | |
2229 | 2231 | | |
2230 | 2232 | | |
2231 | 2233 | | |
| |||
2239 | 2241 | | |
2240 | 2242 | | |
2241 | 2243 | | |
2242 | | - | |
2243 | 2244 | | |
2244 | 2245 | | |
2245 | 2246 | | |
| |||
2257 | 2258 | | |
2258 | 2259 | | |
2259 | 2260 | | |
2260 | | - | |
| 2261 | + | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | 2264 | | |
| |||
2301 | 2302 | | |
2302 | 2303 | | |
2303 | 2304 | | |
2304 | | - | |
| 2305 | + | |
2305 | 2306 | | |
2306 | 2307 | | |
2307 | 2308 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments