diff options
author | Ben Smith <binjimin@gmail.com> | 2017-04-18 14:52:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-18 14:52:01 -0700 |
commit | 9b0055d1d9c75149b2c93b95117fc9af7c20ec32 (patch) | |
tree | 079c3fa307d2af7b92ca183ff680a8c76f6245b3 /src/source-error-handler.h | |
parent | 50007242ecb843a94fbcc7eb118f2c58376d3858 (diff) | |
download | wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.tar.gz wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.tar.bz2 wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.zip |
Define the implicit func type before the function (#400)
When a function is defined without an explicit type, it will first
search the already defined (implicitly or otherwise) func types. If one
is found, it will use it. Otherwise it will define its own and use that.
The code previously would define this new type after the function, which
works but doesn't roundtrip properly because it ends up defining the
same func type twice.
Diffstat (limited to 'src/source-error-handler.h')
0 files changed, 0 insertions, 0 deletions