jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

Fix #291 Member Access on Const Object #293

Closed jamesjuett closed 2 years ago

jamesjuett commented 2 years ago

This PR fixes #291.

It specifically fixes two problems that were causing the complier to not respect constness via member access:

We also clean up a bunch of random stuff, including an old unused MemberAccessEntity, some unused properties on various classes (e.g. staticReceiver, functionCallReceiver), and some random old commented code for dot operators.

Also fixes a miscellaneous bug that I noticed in the error messages for postfix operators.