Skip to content

Conversation

@aviroop-123
Copy link
Contributor

  • Adds more tests for header compilation, specifically nested classes/functions.
  • Fixes for nested function / method declaration.
  • Re-enable LT2Fir function/method body removal & fix for test stub.

@aviroop-123 aviroop-123 requested review from a team as code owners October 30, 2025 21:11
@demiurg906 demiurg906 self-assigned this Oct 31, 2025
@demiurg906 demiurg906 requested review from demiurg906 and removed request for FenstonSingel and mMaxy October 31, 2025 12:18
@JetBrains JetBrains deleted a comment from kotlin-safe-merge bot Oct 31, 2025
@aviroop-123 aviroop-123 force-pushed the header-compilation-lt2fir-1 branch from 4a33595 to 27cd10b Compare November 2, 2025 16:42
@aviroop-123 aviroop-123 force-pushed the header-compilation-lt2fir-1 branch from 27cd10b to 6fe35a1 Compare November 2, 2025 21:55
Copy link
Contributor

@demiurg906 demiurg906 left a comment

Choose a reason for hiding this comment

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

To make future review iterations simpler, could you please don't override existing commits, but instead create fixup! commits with changes regarding review comments? You can do it using git commit <target_commit> or with the IDEA interface.

Also please rebase your branch on top of the fresh master.

They will be automatically squashed with target commits before the merge.

isLocal = false,
overriddenFunctions.map { it.status as FirResolvedDeclarationStatus },
)
// Once the modality is determined, we can remove the body.
Copy link
Contributor

Choose a reason for hiding this comment

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

This code is actually redundant and could be deleted.
inline status is not inheritable, so it checks basically the same things as the code in the raw fir builder.

@aviroop-123 aviroop-123 force-pushed the header-compilation-lt2fir-1 branch from 6fe35a1 to f9a7533 Compare November 4, 2025 20:29
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