Skip to content

Add Scalac scanning to the Travis CI build #23

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 1 commit into from
Feb 16, 2014

Conversation

VladUreche
Copy link
Contributor

This adds the Scalac source code to the Travis build so the tests can parse it.

@VladUreche
Copy link
Contributor Author

No review yet, let's see what Travis has to say first.

And silence some of the error messages we print so the build log
doesn't go above 4MB (Travis' limit)
@VladUreche
Copy link
Contributor Author

@DarkDimius proposed a better solution, where we use submodules in git -- once he's done setting it up, it should replace the travis before_install hook.

@VladUreche
Copy link
Contributor Author

Okay, green light. Review by @DarkDimius, @sjrd or @lrytz. Please also merge it afterwards.

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Feb 16, 2014
Add Scalac scanning to the Travis CI build
@DarkDimius DarkDimius merged commit 8755d85 into scala:master Feb 16, 2014
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 8, 2016
At issue is that the optimizer would eliminate closure classes
completely, then neglect to eliminate those classes from the
container's InnerClasses attribute. This breaks tooling which
expects those entries to correspond to real classes.

The code change is essentially mgarcia's - I minimized it and
put the caches in perRunCaches, and added the test case which
verifies that after being compiled under -optimise, there are
no inner classes. Before/after:

  7,8d6
  <   InnerClasses:
  <        public final scala#22; //class A_1$$anonfun$f$1
  37,45c35,40
  <   scala#21 = Utf8               A_1$$anonfun$f$1
  <   scala#22 = Class              scala#21            //  A_1$$anonfun$f$1
  <   scala#23 = Utf8               Code
  ---
  >   scala#21 = Utf8               Code
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
At issue is that the optimizer would eliminate closure classes
completely, then neglect to eliminate those classes from the
container's InnerClasses attribute. This breaks tooling which
expects those entries to correspond to real classes.

The code change is essentially mgarcia's - I minimized it and
put the caches in perRunCaches, and added the test case which
verifies that after being compiled under -optimise, there are
no inner classes. Before/after:

  7,8d6
  <   InnerClasses:
  <        public final scala#22; //class A_1$$anonfun$f$1
  37,45c35,40
  <   scala#21 = Utf8               A_1$$anonfun$f$1
  <   scala#22 = Class              scala#21            //  A_1$$anonfun$f$1
  <   scala#23 = Utf8               Code
  ---
  >   scala#21 = Utf8               Code
pikinier20 added a commit that referenced this pull request Aug 16, 2022
szymon-rd added a commit that referenced this pull request Dec 9, 2022
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