Closed JothamWong closed 3 months ago
Hmm this seems to be an actual bug.
@JJtan2002 could you please add the error to https://github.com/source-academy/py-slang/blob/0b7801a69a670d4cbda8531c1a738b0fb66ea942/src/errors.ts#L126 ? 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