You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a current bug in the implementation where in your baseNumber implementation, you attempt to call a method that does not exist in the namespace.
This is easily reproducible but just calling yarn build will result in the following error
$ node ./scripts/updateAutocompleteDocs.js
src/py-slang/src/tokenizer.ts:228:47 - error TS2339: Property 'InvalidNumberError' does not exist on type 'typeof TokenizerErrors'.
228 throw new TokenizerErrors.InvalidNumberError(this.line, this.col, this.source, this.start, this.current);
~~~~~~~~~~~~~~~~~~
src/py-slang/src/tokenizer.ts:237:47 - error TS2339: Property 'InvalidNumberError' does not exist on type 'typeof TokenizerErrors'.
237 throw new TokenizerErrors.InvalidNumberError(this.line, this.col, this.source, this.start, this.current);
~~~~~~~~~~~~~~~~~~
src/py-slang/src/tokenizer.ts:246:47 - error TS2339: Property 'InvalidNumberError' does not exist on type 'typeof TokenizerErrors'.
246 throw new TokenizerErrors.InvalidNumberError(this.line, this.col, this.source, this.start, this.current);
~~~~~~~~~~~~~~~~~~
src/py-slang/src/tokenizer.ts:268:51 - error TS2339: Property 'InvalidNumberError' does not exist on type 'typeof TokenizerErrors'.
268 throw new TokenizerErrors.InvalidNumberError(this.line, this.col, this.source, this.start, this.current);
~~~~~~~~~~~~~~~~~~
src/py-slang/src/tokenizer.ts:296:43 - error TS2339: Property 'InvalidNumberError' does not exist on type 'typeof TokenizerErrors'.
296 throw new TokenizerErrors.InvalidNumberError(this.line, this.col, this.source, this.start, this.current);
~~~~~~~~~~~~~~~~~~
Found 5 errors.
The text was updated successfully, but these errors were encountered:
? You can copy one of the other errors in that file already. I think it should be interesting. If you have midterms and are busy just ignore my message for now please. Thanks!
This is a current bug in the implementation where in your baseNumber implementation, you attempt to call a method that does not exist in the namespace.
This is easily reproducible but just calling yarn build will result in the following error
The text was updated successfully, but these errors were encountered: