Skip to content

Fix Field Access#275

Open
rcosta358 wants to merge 1 commit into
mainfrom
fix-238
Open

Fix Field Access#275
rcosta358 wants to merge 1 commit into
mainfrom
fix-238

Conversation

@rcosta358

Copy link
Copy Markdown
Collaborator

Description

Fixes #238.
Fields are stored in the refinement context using this#name, but invocation targets were previously resolved using only name.

Example

private ByteBuffer buffer;

public Example() {
    buffer = ByteBuffer.wrap(new byte[128]);
    byte[] bytes = buffer.array();
}

Related Issue

#238.

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • Added/updated tests under liquidjava-example/src/main/java/testSuite/ (Correct* / Error*)
  • mvn test passes locally
  • Updated docs/README if behavior or API changed

@rcosta358 rcosta358 self-assigned this Jul 27, 2026
@rcosta358 rcosta358 added the bug Something isn't working label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Field use triggers RuntimeException

1 participant