Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Start implement string slicing #83

Merged
merged 3 commits into from Jan 10, 2017
Merged

Start implement string slicing #83

merged 3 commits into from Jan 10, 2017

Conversation

S-YOU
Copy link
Contributor

@S-YOU S-YOU commented Jan 10, 2017

This is for #77. Once this is ok, I could continue unicode.

Copy link
Contributor

@trotterdylan trotterdylan left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! This looks great, just one style nitpick.

@@ -201,20 +201,38 @@ func strGE(f *Frame, v, w *Object) (*Object, *BaseException) {
return strCompare(v, w, False, True, True), nil
}

// strGetItem returns a slice of string
Copy link
Contributor

Choose a reason for hiding this comment

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

Please wrap comments at 80 chars

Copy link
Contributor Author

@S-YOU S-YOU Jan 10, 2017

Choose a reason for hiding this comment

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

@trotterdylan, fixed that, and also added unicode slicing, should I use separate PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

@S-YOU No, it's fine to leave it all in one PR. Thanks!

Copy link
Contributor

@trotterdylan trotterdylan left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks for getting this done!

@trotterdylan trotterdylan merged commit 92c85b5 into google:master Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants