objectionary / objectionary/lints

Self-referencing comparison misbehaves with matching object names

Open
#654 3 comments 0 reactions 1 assignee View on GitHub

@h1alexbel is already working on this.

Since Jun 22, 2025.

bug good-title
Dominant language
Java
Stars
14
Forks
39
Avg merge
22h 54m
Merged PRs (30d)
90

Description

This is my code:

# Example.
[] > app
  a. > foo
    b > foo1!

I'm getting this:

The object "$.foo1.a" can't copy itself (self-referencing (Single))

Then, I do this:

# Example.
[] > app
  a. > foo
    b > bar!

And I get no warnings. It seems, we compare strings incorrectly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.