EOS Compiler Version Differences
Posted: Wed Mar 10, 2021 4:35 am
I was working in the EOS editor, and I noticed that the compiler for the editor is set to a recent TypeScript version, but the actual compiler used when the tease is run is an older version of JavaScript.
For example, the compiler in the editor is fine with "let," "class," and even "enum" keywords (the last of which is TypeScript-exclusive), but the tease will break if you use any of these. It's confusing to be corrected into doing something that breaks the code.
I don't know who to contact about this, but it would be nice if the two compilers could be brought in sync.
For example, the compiler in the editor is fine with "let," "class," and even "enum" keywords (the last of which is TypeScript-exclusive), but the tease will break if you use any of these. It's confusing to be corrected into doing something that breaks the code.
I don't know who to contact about this, but it would be nice if the two compilers could be brought in sync.