-
Notifications
You must be signed in to change notification settings - Fork 90
Fix ownership corruption problem in the awaited expression #210
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
best ticket ever |
This is the greatest moment of my life.
…On Thu, Feb 7, 2019, at 03:11, Seth Tisue wrote:
> Previously, `whyDoYouHateMe` was incorrectly owned by `jerk`
best ticket ever
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#210 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABNP7ZJo3eDbGw_dRyM_0FaQusn8cK0Hks5vK9-2gaJpZM4amq77>.
|
Thank you! I should start using more fanciful identifiers in my bug reports. |
Unfortunately, the following, which passed without the change to
|
Previously, `whyDoYouHateMe` was incorrectly owned by `jerk`, rather than `pointlessSymbolOwner` after the ANF transform, which in turn led to: ``` java.util.NoSuchElementException: value whyDoHateMe at scala.collection.mutable.AnyRefMap$ExceptionDefault.apply(AnyRefMap.scala:425) at scala.collection.mutable.AnyRefMap$ExceptionDefault.apply(AnyRefMap.scala:424) at scala.collection.mutable.AnyRefMap.apply(AnyRefMap.scala:180) at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder$locals$.load(BCodeSkelBuilder.scala:390) at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:354) ```
63072fe
to
103ec8c
Compare
@pnf Thanks for the test case. I've spotted the error in my first attempt and pushed a change that deals equally well with slobs and jerks. 😄 |
retronym
added a commit
to retronym/scala
that referenced
this pull request
Mar 24, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Mar 24, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 20, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 20, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 20, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 20, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 28, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Apr 29, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
May 11, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Jun 1, 2020
retronym
added a commit
to retronym/scala
that referenced
this pull request
Jun 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously,
whyDoYouHateMe
was incorrectly owned byjerk
,rather than
pointlessSymbolOwner
after the ANF transform,which in turn led to: