binjs-ref icon indicating copy to clipboard operation
binjs-ref copied to clipboard

Detect duplicated interface and avoid generating implementation

Open arai-a opened this issue 6 years ago • 0 comments

Separated from https://github.com/binast/binjs-ref/pull/144

in the current spec, FunctionBody and ListOfStatement are same thing

typedef FrozenArray<Statement> FunctionBody;

but the code generator tries to generate implementation for both of them, resulting compile error because of duplication. in the patch in above PR, I added special case for FunctionBody, but we should replace it with more robust code.

arai-a avatar Aug 25 '18 14:08 arai-a