Skip to content

Remove duplicate file, prevent sbt from compiling source files at root of project #6981

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

Merged
merged 3 commits into from
Sep 12, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Aug 3, 2019

No description provided.

@smarter smarter requested a review from nicolasstucki August 3, 2019 13:34
@smarter smarter force-pushed the remove-collectentrypoint branch 2 times, most recently from fe5588b to 89801f9 Compare August 3, 2019 14:44
Previously, creating a .scala file at the root of the dotty repository
would cause sbt to try to compile it when typing `compile`, now it won't
anymore.
We had two slightly different copies of the files:
- the object in jvm/CEP is used in the backend, the class is unused
- the class in transform/CEP is used as a compiler phase, however it
doesn't do anything useful: it collects entry points but they're never
used anywhere.

This commit removes transform/CEP and add a comment about the dead code
in jvm/CEP which we need to enable and test.
It never actually worked (see previous commit), we have no tests for it,
and it's only useful for a marginal feature (when the compiler outputs a
jar), better to remove dead code and wait for a usecase to appear.
@smarter smarter force-pushed the remove-collectentrypoint branch from 897590d to 3ebf919 Compare September 11, 2019 13:06
@smarter smarter merged commit b9775e3 into scala:master Sep 12, 2019
@smarter smarter deleted the remove-collectentrypoint branch September 12, 2019 12: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.

3 participants