Skip to content

Handle class literal CFG nodes#52

Open
aosen-xiong wants to merge 2 commits into
eisop:main-eisopfrom
aosen-xiong:fix-fieldaccess
Open

Handle class literal CFG nodes#52
aosen-xiong wants to merge 2 commits into
eisop:main-eisopfrom
aosen-xiong:fix-fieldaccess

Conversation

@aosen-xiong

Copy link
Copy Markdown

public TransferResult<CFValue, NullSpecStore> visitFieldAccess(
FieldAccessNode node, TransferInput<CFValue, NullSpecStore> input) {
TransferResult<CFValue, NullSpecStore> result = super.visitFieldAccess(node, input);
if (node.getFieldName().equals("class")) {

@aosen-xiong aosen-xiong Jun 20, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should decide whether we need this special case and long comment if this is handled as a separate ClassLiteralNode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant