Commit 8d4babb
committed
Do not emit static forwarders for non-top-level objects by default.
This is a forward port of the upstream commit
scala-js/scala-js@3c3b100
We now require the option
`-scalajs-genStaticForwardersForNonTopLevelObjects` to emit static
forwarders for non-top-level objects.
In addition, we take `-XnoForwarders` into account, which we were
erroneously not doing before.1 parent ce48f5a commit 8d4babb
File tree
3 files changed
+26
-2
lines changed- compiler/src/dotty/tools
- backend/sjs
- dotc/config
- project
3 files changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
526 | 531 | | |
527 | 532 | | |
528 | 533 | | |
529 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
530 | 544 | | |
531 | 545 | | |
532 | | - | |
533 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
534 | 553 | | |
535 | 554 | | |
536 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
1007 | 1009 | | |
1008 | 1010 | | |
1009 | 1011 | | |
| |||
0 commit comments