Skip to content

Fix Rope CharSequence .toString.#58

Open
phronmophobic wants to merge 1 commit intolacuna:masterfrom
phronmophobic:fix-rope-charsequence-tostring
Open

Fix Rope CharSequence .toString.#58
phronmophobic wants to merge 1 commit intolacuna:masterfrom
phronmophobic:fix-rope-charsequence-tostring

Conversation

@phronmophobic
Copy link

The CharSequence returned by Rope's .toCharSequence doesn't override .toString and gives the wrong result.

> (-> (Rope/from "hello")
      .toCharSequence
      .toString)
"io.lacuna.bifurcan.Rope$1@69be5e43"

This pull request uses the same implementation that Rope's .toString implementation uses.

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.

1 participant