Skip to content

Avoid name clashes with types from java.lang #1721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 19, 2023

Conversation

EgorkaKulikov
Copy link
Collaborator

Description

Currently we can resolve name clashes with everything that has already been imported.
But we can also obtain clashes with names from java.lang - it should be fixed

Fixes # (1716)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

Run ContestEstimator with the following settings

methodFilter = "org.apache.pdfbox.rendering.PageDrawer.*"
projectFilter = listOf("pdfbox")

Checklist (remove irrelevant options):

  • [+] The change followed the style guidelines of the UTBot project
  • [+] Self-review of the code is passed
  • [+] The change contains enough commentaries, particularly in hard-to-understand areas
  • [+] No new warnings

@EgorkaKulikov EgorkaKulikov added ctg-bug Issue is a bug comp-codegen Issue is related to code generator labels Jan 19, 2023
@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) January 19, 2023 15:59
@EgorkaKulikov EgorkaKulikov requested a review from Damtev January 19, 2023 16:00
@EgorkaKulikov EgorkaKulikov merged commit 61e6fb3 into main Jan 19, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/name_clashes_float branch January 19, 2023 16:13
@alisevych alisevych added ctg-bug-fix PR is fixing a bug and removed ctg-bug Issue is a bug labels Jan 20, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error: incompatible types: Float cannot be converted to float in pdfbox project
3 participants