Skip to content

Conversation

@devmil
Copy link
Member

@devmil devmil commented Oct 28, 2025

Description

Constructors of private classes are treated like public class constructors meaning every type passed in is treated as "used".
In practice there is no way to call the constructor of a private class from outside.
This PR stops type analysis at constructors of private classes.

Fixes #244

Type of Change

  • 🚀 New feature (non-breaking change)
  • 🛠️ Bug fix (non-breaking change)
  • ⚠️ Breaking change (feature or bug fix which breaks existing behaviors/APIs)
  • 🏗️ Code refactor
  • ⚙️ Build configuration change
  • 📝 Documentation
  • 🧹 Chore / Housekeeping

@devmil devmil merged commit 482a3a1 into bmw-tech:main Oct 28, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

False positive in symbol leak check

2 participants