jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

Semantic equivalence should treat member variable identifies as distinct #287

Open jamesjuett opened 2 years ago

jamesjuett commented 2 years ago

Specifically, the current algorithm appears to treat member variable accesses through identifiers (without a preceding this->) as if they are the same if they have the same entity type. However, they should be distinguished if they are accesses to different members.

This should also be checked for explicit member access through -> and . operators. (But those may well be working correctly already.)