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

[Truffle] Adding frozen check to Array#delete. #2732

Merged
merged 1 commit into from Mar 19, 2015

Conversation

bjfish
Copy link
Contributor

@bjfish bjfish commented Mar 19, 2015

No description provided.

isFrozenNode = insert(IsFrozenNodeFactory.create(getContext(), getSourceSection(), null));
}
final boolean isFrozen = isFrozenNode.executeIsFrozen(array);

Copy link
Contributor

Choose a reason for hiding this comment

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

Can't this be hoisted to line 827?

@chrisseaton
Copy link
Contributor

Could this be another annotation?

@bjfish bjfish force-pushed the truffle_array_delete_frozen branch from db54205 to af6bb3e Compare March 19, 2015 23:30
@bjfish
Copy link
Contributor Author

bjfish commented Mar 19, 2015

@chrisseaton I've hoisted that and refactored this a little.

What did you have in mind for an annotation? I don't see this particular case occurring frequently.

@chrisseaton
Copy link
Contributor

Ok, if I find myself copying and pasting this I'll think about it.

chrisseaton added a commit that referenced this pull request Mar 19, 2015
[Truffle] Adding frozen check to Array#delete.
@chrisseaton chrisseaton merged commit 4ba498c into jruby:master Mar 19, 2015
@chrisseaton chrisseaton added this to the truffle-dev milestone Mar 19, 2015
@enebo enebo added this to the Non-Release milestone Dec 7, 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.

None yet

3 participants