File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ var LibraryEmbind = {
124124 // We are exposing a function with the same name as an existing function. Create an overload table and a function selector
125125 // that routes between the two.
126126 ensureOverloadTable ( Module , name , name ) ;
127- if ( Module . hasOwnProperty ( numArguments ) ) {
127+ if ( Module [ name ] . overloadTable . hasOwnProperty ( numArguments ) ) {
128128 throwBindingError ( `Cannot register multiple overloads of a function with the same number of arguments (${ numArguments } )!` ) ;
129129 }
130130 // Add the new function into the overload table.
Original file line number Diff line number Diff line change 11{
22 "a.html" : 552 ,
33 "a.html.gz" : 380 ,
4- "a.js" : 9727 ,
5- "a.js.gz" : 4295 ,
4+ "a.js" : 9732 ,
5+ "a.js.gz" : 4296 ,
66 "a.wasm" : 7730 ,
77 "a.wasm.gz" : 3507 ,
8- "total" : 18009 ,
9- "total_gz" : 8182
8+ "total" : 18014 ,
9+ "total_gz" : 8183
1010}
You can’t perform that action at this time.
0 commit comments