Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Incorrect objects transformation inside of TsBinaryOperator

Open
#281 0 comments 0 reactions 1 assignee View on GitHub

@CaelmBleidd is already working on this.

Since May 22, 2025.

Assessment

This issue has not been assessed yet.

Description

Some binary operations are supported only for simple cases. For example, if we have two fakeObjects (such objects that can represent values of multiple sorts at the same time), we should implement application of a binary operator for reference OP bool, etc.

In the code they are marked as 'fake(ref)' == 'bool'. Since it is not yet implemented, we should remove such combinations from the processing. Previously it was made using assert instruction which it incorrect, since it removes the possibility for the fake object to represent some types in all the following branches.

Therefore, I've replaced it with temporary incorrect implementation:

    conjuncts += ExprWithTypeConstraint(
        constraint = lhsType.refTypeExpr,
        expr = mkFalse() // TODO mistake, we should coerce the ref object
    )

The correct implementation is required.

Dominant language
Kotlin
Stars
33
Forks
27
Avg merge
4d 3h
Merged PRs (30d)
15

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.

More from UnitTestBot/usvm

All issues in UnitTestBot/usvm

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.