Commit 8a71f98
Ignore haskell annotations
Summary: The hs2 compiler has its own frontend, so we can't lower the catch-all annotation to support its unstructured annotations. Instead, strip them during semantic analysis and ignore them in the codemod.
Reviewed By: vitaut
Differential Revision: D68231281
fbshipit-source-id: 94fd95eb9709826aaf117a7a0f5b0f1da4b8b8271 parent b024a70 commit 8a71f98
File tree
4 files changed
+58
-8
lines changed- third-party/thrift/src/thrift/compiler
- codemod
- sema
- test
4 files changed
+58
-8
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| |||
471 | 478 | | |
472 | 479 | | |
473 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
474 | 485 | | |
475 | 486 | | |
476 | 487 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
420 | 438 | | |
421 | 439 | | |
422 | 440 | | |
423 | 441 | | |
424 | 442 | | |
425 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
426 | 447 | | |
427 | 448 | | |
428 | 449 | | |
| |||
435 | 456 | | |
436 | 457 | | |
437 | 458 | | |
| 459 | + | |
| 460 | + | |
438 | 461 | | |
439 | 462 | | |
440 | 463 | | |
| |||
475 | 498 | | |
476 | 499 | | |
477 | 500 | | |
| 501 | + | |
| 502 | + | |
478 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
479 | 507 | | |
480 | 508 | | |
481 | 509 | | |
482 | | - | |
483 | 510 | | |
484 | 511 | | |
485 | 512 | | |
486 | 513 | | |
487 | 514 | | |
488 | 515 | | |
489 | | - | |
490 | | - | |
491 | | - | |
| 516 | + | |
| 517 | + | |
492 | 518 | | |
493 | 519 | | |
494 | 520 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2291 | 2291 | | |
2292 | 2292 | | |
2293 | 2293 | | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
0 commit comments