Skip to content
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

SONARPY-1764 Enrich FunctionType #1764

Conversation

guillaume-dequenne-sonarsource
Copy link
Contributor

@guillaume-dequenne-sonarsource guillaume-dequenne-sonarsource commented Apr 15, 2024

The bulk of this change transfers the logic with FunctionSymbol to the new FunctionType.

Some things are not currently handled, namely:

  • Parameter declared types
  • Function declared return types
  • Decorators

While I believe the main logic of FunctionSymbol is still valid in the new model, these three points specifically deserve some more thought. Dedicated tickets have been created to handle them (SONARPY-1772, SONARPY-1773 and SONARPY-1776

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link

Quality Gate failed Quality Gate failed

Failed conditions
5 New issues
9.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@guillaume-dequenne-sonarsource guillaume-dequenne-sonarsource marked this pull request as ready for review April 18, 2024 13:51
@guillaume-dequenne-sonarsource guillaume-dequenne-sonarsource merged commit 2009d3c into rnd/type-inference-engine-specification Apr 18, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants