pouryafard75 / RM-ASTDiff

MIT License
2 stars 1 forks source link

Multi-mapping with Variable Declaration statement and assignment statement #61

Open tsantalis opened 1 year ago

tsantalis commented 1 year ago

https://github.com/facebook/buck/commit/7e104c3ed4b80ec8e9b72356396f879d1067cc40

int index = root.getGroupId().lastIndexOf('.'); and index = artifact.getGroupId().lastIndexOf('.'); (x2) are mapped to int index = artifact.getGroupId().lastIndexOf('.'); but root.getGroupId().lastIndexOf('.') appears as deleted, not matched

Screenshot from 2023-03-25 03-46-02

tsantalis commented 1 year ago

Screenshot after argument mapping fix:

Screenshot from 2023-03-25 07-25-01

tsantalis commented 1 year ago

@pouryafard75

Although RMiner gives the mapping L161 -> R208, it does not appear in the diff relativePath = copy(result, project); return copy(result, project);

Screenshot from 2023-03-25 14-51-52