Skip to content

Conversation

@rcosta358
Copy link
Collaborator

Added a condition to skip null literals in the RefinementTypeChecker, preventing a NotImplementedException when encountering null values during refinement checking.

Co-Authored-By: Márcio Caetano <153174341+rodrigomilisse@users.noreply.github.com>
@rcosta358 rcosta358 added the enhancement New feature or request label Oct 20, 2025
Copy link
Collaborator

@alcides alcides left a comment

Choose a reason for hiding this comment

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

I believe we should use type.equals("..") here.

Kotlin translates == to .equals. But in Java you have to write equals explicitly. == compares object identity while equals compares contents of strings.

@rcosta358
Copy link
Collaborator Author

Absolutely.

@rcosta358 rcosta358 merged commit 758650d into liquid-java:main Oct 29, 2025
1 check passed
@rcosta358 rcosta358 deleted the skip-null-literals branch October 29, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants