motoko icon indicating copy to clipboard operation
motoko copied to clipboard

bug: idllib.escape.is_motoko_keyword seems out of date

Open crusso opened this issue 3 years ago • 3 comments

e.g. with is missing.

Refactor to use a shared keyword table?

crusso avatar Oct 27 '22 20:10 crusso

Thanks for catching this! I also need to update the Rust code.

chenyan-dfinity avatar Oct 27 '22 21:10 chenyan-dfinity

There might be more...

crusso avatar Oct 28 '22 15:10 crusso

Corresponding file in node-motoko (+1 towards creating a single source of truth for all of these keyword lists):

https://github.com/dfinity/node-motoko/blob/main/src/keywords.ts

rvanasa avatar Oct 28 '22 19:10 rvanasa