Skip to content

Commit

Permalink
access correct meta accessor type (#8)
Browse files Browse the repository at this point in the history
* access correct meta accessor type
---------

Signed-off-by: zhenweijin <[email protected]>
  • Loading branch information
kylo5aby authored Sep 28, 2023
1 parent 769ee86 commit 001a724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/binaryen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ export class WASMGen extends Ts2wasmBackend {
(flag & META_FLAG_MASK) |
((index << 4) & META_INDEX_MASK);
buffer[j + 2] = this.getDefinedTypeId(
(member.getter as VarValue).type,
(member.setter as VarValue).type,
);
}
}
Expand Down

0 comments on commit 001a724

Please sign in to comment.