Commit 3508a49
committed
Properly type js.If and js.TryCatch in statement position
In statement position, they must always be typed as NoType, since
their children might be typed as such.
Forward port of
scala-js/scala-js@e440de91 parent a6cd84f commit 3508a49
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1621 | 1621 | | |
1622 | 1622 | | |
1623 | 1623 | | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
1624 | 1628 | | |
1625 | | - | |
| 1629 | + | |
1626 | 1630 | | |
1627 | 1631 | | |
1628 | 1632 | | |
| |||
1857 | 1861 | | |
1858 | 1862 | | |
1859 | 1863 | | |
1860 | | - | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
1861 | 1868 | | |
1862 | 1869 | | |
1863 | 1870 | | |
| |||
0 commit comments