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

cleanup of old stuff from the GenJVM era #2452

Merged
merged 4 commits into from
Apr 26, 2013
Merged

Conversation

magarciaEPFL
Copy link
Contributor

review by @JamesIry or @gkossakowski

@gkossakowski
Copy link
Member

Once comment about magic number is added this is good to go. I know that the comment wasn't there before and the magic number was but since we are touching this piece of code it would be good to document it. Also, it would be good to explain what fitsInOneString is supposed to be used for. It's not really clear to me.

@magarciaEPFL
Copy link
Contributor Author

A second opinion is welcome, but looks like the Looks Good conditions have been met.

@paulp
Copy link
Contributor

paulp commented Apr 26, 2013

LGTM2.

paulp added a commit that referenced this pull request Apr 26, 2013
cleanup of old stuff from the GenJVM era
@paulp paulp merged commit a81788c into scala:master Apr 26, 2013
@gkossakowski
Copy link
Member

LGTM. Thanks a lot for the comment! I learnt something from it, actually. 👍

eed3si9n pushed a commit to eed3si9n/scala that referenced this pull request May 14, 2019
For example, when the `--sourcepath` option is provided
and the refchecks phase compiles an annotation found
on a referenced symbol from the sourcepath.

`compileLate` assumes that all non-sentinel compiler
phases can be down cast to `GlobalPhase`.

This commit changes the two phases in SBT to extend
this instead of `Phase`. This has the knock on benefit
of simplifying the phases by letting the `GlobalPhase.run`
iterator over the list of compilation units and feed them
to us one by one.

I checked that the test case failed before making each
change.
eed3si9n pushed a commit to eed3si9n/scala that referenced this pull request May 14, 2019
For example, when the `--sourcepath` option is provided
and the refchecks phase compiles an annotation found
on a referenced symbol from the sourcepath.

`compileLate` assumes that all non-sentinel compiler
phases can be down cast to `GlobalPhase`.

This commit changes the two phases in SBT to extend
this instead of `Phase`. This has the knock on benefit
of simplifying the phases by letting the `GlobalPhase.run`
iterator over the list of compilation units and feed them
to us one by one.

I checked that the test case failed before making each
change.
eed3si9n added a commit to eed3si9n/scala that referenced this pull request May 14, 2019
FPORT: Avoid CCE when scalac internally uses compileLate. Fixes scala#2452
lrytz pushed a commit to lrytz/scala that referenced this pull request Nov 5, 2019
For example, when the `--sourcepath` option is provided
and the refchecks phase compiles an annotation found
on a referenced symbol from the sourcepath.

`compileLate` assumes that all non-sentinel compiler
phases can be down cast to `GlobalPhase`.

This commit changes the two phases in SBT to extend
this instead of `Phase`. This has the knock on benefit
of simplifying the phases by letting the `GlobalPhase.run`
iterator over the list of compilation units and feed them
to us one by one.

I checked that the test case failed before making each
change.

Rewritten from sbt/zinc@2f9a27f
lrytz pushed a commit to lrytz/scala that referenced this pull request Nov 5, 2019
For example, when the `--sourcepath` option is provided
and the refchecks phase compiles an annotation found
on a referenced symbol from the sourcepath.

`compileLate` assumes that all non-sentinel compiler
phases can be down cast to `GlobalPhase`.

This commit changes the two phases in SBT to extend
this instead of `Phase`. This has the knock on benefit
of simplifying the phases by letting the `GlobalPhase.run`
iterator over the list of compilation units and feed them
to us one by one.

I checked that the test case failed before making each
change.

Rewritten from sbt/zinc@a27be44
lrytz pushed a commit to lrytz/scala that referenced this pull request Nov 5, 2019
FPORT: Avoid CCE when scalac internally uses compileLate. Fixes scala#2452
Rewritten from sbt/zinc@d0d97f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants