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

Revise treatment of keywords in non-key position #21

Merged
merged 5 commits into from
Mar 24, 2015

Conversation

crisptrutski
Copy link
Owner

The existing behaviour seemed very problematic for two reasons:

  1. Storage different between JVM and JS platforms (maps vs. names)
  2. Round-trips OK for keys but not for values (on either platform)

Since non-keyword strings are highly unlikely to be colon-prefixed, decided to sprinkle some magic when fixing consistency, so that keywords can make a stable round trip.

@crisptrutski
Copy link
Owner Author

@verma @martinklepsch not sure if this is too magic

@crisptrutski
Copy link
Owner Author

Well, I've slept on it and think it's the "right choice". `Will merge and wait for complaints 🐢

crisptrutski added a commit that referenced this pull request Mar 24, 2015
Revise treatment of keywords in non-key position
@crisptrutski crisptrutski merged commit 4fc4790 into master Mar 24, 2015
@crisptrutski crisptrutski deleted the stable-keywords branch March 24, 2015 09:10
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

1 participant