Commit 622a0ef
authored
Fix tag name section writing (#8431)
It is not guaranteed that impored tags come first in the `Module::tags`
array, but the current code assumes that. This PR changes its printing
so it is the same format with other module items, which calls
`ModuleUtils::iterImported***` first and then
`ModuleUtils::iterDefined***`.
It is hard to add a wast test for this, because wast files mandate
`import`s come before defined items.1 parent 694f7e8 commit 622a0ef
1 file changed
+16
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1195 | 1196 | | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
1199 | 1203 | | |
1200 | 1204 | | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1208 | 1209 | | |
1209 | 1210 | | |
1210 | 1211 | | |
| |||
0 commit comments