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

@file:JvmName("SomeName") is not counted as a declaration #387

Open
RBusarow opened this issue Feb 19, 2022 · 0 comments
Open

@file:JvmName("SomeName") is not counted as a declaration #387

RBusarow opened this issue Feb 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RBusarow
Copy link
Member

If a module has some Kotlin file using @file:JvmName(...), then Java classes will consume any top-level declarations using that name.

For instance:

@file:JvmName("Objects")
package com.example

The java classes would consume that file as com.example.Objects.

It should count as a declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant