Skip to content

Move REPL related xsbti Java classes to the correct module#425

Merged
jvican merged 3 commits intosbt:1.0.xfrom
eed3si9n:wip/repl
Oct 10, 2017
Merged

Move REPL related xsbti Java classes to the correct module#425
jvican merged 3 commits intosbt:1.0.xfrom
eed3si9n:wip/repl

Conversation

@eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented Oct 9, 2017

xsbti Java classes were ported into compiler bridge, instead of the compiler interface by mistake.
Since there's not code utilizing this interface yet, this was never caught.

Ref #295

xsbti Java classes were ported into compiler bridge, instead of the compiler interface by mistake.
Since there's not code utilizing this interface yet, this was never caught.
dwijnand
dwijnand previously approved these changes Oct 9, 2017
Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

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

Is this change required by anything, or is it just cleaning up? Just curious. LGTM.

@eed3si9n
Copy link
Member Author

eed3si9n commented Oct 9, 2017

Over the weekend I was actually trying to implement something using this feature, and realized that it's broken.

build.sbt Outdated
publishLocal := publishLocal.dependsOn(cleanSbtBridge).value,
altPublishSettings,
mimaSettings,
mimaBinaryIssueFilters ++= Vector(
Copy link
Member

Choose a reason for hiding this comment

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

I think we should follow the scalac standard of having this in an independent file. I don't like having this on the build.sbt.

Copy link
Member

Choose a reason for hiding this comment

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

Could you elaborate why?

Copy link
Member

Choose a reason for hiding this comment

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

I can think of two reasons:

  • Every time I change something, It makes me reload the build.
  • A file inside a project's source directories is clearer to find and read.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in 505ac2e

ProblemFilters.exclude[MissingClassProblem]("xsbti.InteractiveConsoleFactory")
ProblemFilters.exclude[MissingClassProblem]("xsbti.InteractiveConsoleResult")
ProblemFilters.exclude[MissingClassProblem]("xsbti.InteractiveConsoleInterface")
ProblemFilters.exclude[MissingClassProblem]("xsbti.InteractiveConsoleResponse")
Copy link
Member Author

Choose a reason for hiding this comment

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

Mima exclusions moved to its own file, so is this ready to merge?

@jvican jvican merged commit 291cefa into sbt:1.0.x Oct 10, 2017
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