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

Fix deletion of buildPkg functions invoked only by testablePkg #43561

Conversation

Thushara-Piyasekara
Copy link
Contributor

Purpose

Fixes a bug introduced by #43559. This bug causes buildPkg functions used only by testablePkg to be marked as unused. This causes a NPE for bal test --eliminate-dead-code --dead-code-elimination-report command.

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

@gimantha gimantha merged commit 01576b2 into ballerina-platform:feature-codegen-optimizer Nov 8, 2024
2 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
Development

Successfully merging this pull request may close these issues.

2 participants