brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 44 forks source link

essentials2021 context now exports e #506

Closed schanzer closed 6 months ago

schanzer commented 6 months ago

I’m getting lots of errors related to the constants library, in files that previously worked: image

I know y'all have been working on the starter2024 context, and adding e is one of the todo items. But this file uses essentials2021. Is it possible you accidentally made this change in a way that effects old contexts?

Please note that this breaks all of Bootstrap:Algebra for all 2023 teachers, since all the starter files use this particular teachpack

See https://github.com/bootstrapworld/curriculum/issues/1792

jpolitz commented 6 months ago

Closing – fixed in teachpack by using import constants as C and then referring by field name. include considered harmful?