Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Sep 9, 2023

Previously, the printer incorrectly reconstructed imported functions' types from
their signatures instead of printing their types directly. This could cause the
printer to print uses of types that were never defined and did not exist in the
module. Fix the bug by printing imported functions' heap types directly.

@tlively tlively requested a review from kripken September 9, 2023 00:32
@tlively
Copy link
Member Author

tlively commented Sep 9, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@codecov
Copy link

codecov bot commented Sep 9, 2023

Codecov Report

Merging #5927 (2407ab7) into main (fcf6efb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #5927   +/-   ##
=======================================
  Coverage   42.60%   42.60%           
=======================================
  Files         484      484           
  Lines       74837    74838    +1     
  Branches    11922    11923    +1     
=======================================
+ Hits        31885    31888    +3     
  Misses      39749    39749           
+ Partials     3203     3201    -2     
Files Changed Coverage Δ
src/passes/Print.cpp 66.05% <100.00%> (ø)

... and 4 files with indirect coverage changes

Previously, the printer incorrectly reconstructed imported functions' types from
their signatures instead of printing their types directly. This could cause the
printer to print uses of types that were never defined and did not exist in the
module. Fix the bug by printing imported functions' heap types directly.
@tlively tlively force-pushed the fix-print-imported-func-type branch from 112186f to 2407ab7 Compare September 11, 2023 17:14
@tlively tlively enabled auto-merge (squash) September 11, 2023 17:22
@tlively tlively merged commit e9d0fb7 into main Sep 11, 2023
@tlively tlively deleted the fix-print-imported-func-type branch September 11, 2023 17:53
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
Previously, the printer incorrectly reconstructed imported functions' types from
their signatures instead of printing their types directly. This could cause the
printer to print uses of types that were never defined and did not exist in the
module. Fix the bug by printing imported functions' heap types directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants