(func $"globalH0Foo tear-off dynamic call entry" (param $var0 (ref $#ClosureBase)) (param $var1 (ref $Array<_Type>)) (param $var2 (ref $Array<Object?>)) (param $var3 (ref $Array<Object?>)) (result (ref null $#Top))These changes here are actually due to different CL (whose CI checks didn't run dart2wasm unfortunately - since it only touches `pkg/dartdev`): https://dart-review.googlesource.com/c/sdk/+/458720
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
defining one.Will this not cause name collisions sometimes?
function.functionName = function.functionName;This should be `function.functionName = definition.functionName`.
So it looks like this is not tested. Might be good to test if not too difficult.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
defining one.Will this not cause name collisions sometimes?
There can always be name collisions - e.g. two identically named functions in two different libraries that get bundled in the same module will probably have the same name.
Though these collisions don't cause any problem per-se - modulo readability of wat files.
This particular change I think will not cause any more collisions than that there are already because if a function/global is imported then it does exist in a different module so the local module doesn't define it's own (instead it imports it).
I could prefix the names with `(imported) <definedFunction.functionName>' but that just makes it longer.
This should be `function.functionName = definition.functionName`.
So it looks like this is not tested. Might be good to test if not too difficult.
Thanks. Added a test.
(Have been not sleeping too well lately ...)
(func $"globalH0Foo tear-off dynamic call entry" (param $var0 (ref $#ClosureBase)) (param $var1 (ref $Array<_Type>)) (param $var2 (ref $Array<Object?>)) (param $var3 (ref $Array<Object?>)) (result (ref null $#Top))These changes here are actually due to different CL (whose CI checks didn't run dart2wasm unfortunately - since it only touches `pkg/dartdev`): https://dart-review.googlesource.com/c/sdk/+/458720
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Landing it now to get the failing builder green again.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Landing it now to get the failing builder green again.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |