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

Clarify example showing how to add new keys #706

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

eksortso
Copy link
Contributor

Per a conversation regarding point 9 of #701, this PR annotates two examples with comments to show how you can write to unused names, and to show why reusing a name as a table when it originally wasn't is invalid.

Copy link
Contributor

@ChristianSi ChristianSi left a comment

Choose a reason for hiding this comment

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

I have made a potential suggestion. But, with or without it, this PR is fine with me.

README.md Show resolved Hide resolved
@pradyunsg
Copy link
Member

Would it make sense to instead show the JSON-equivalent here?

@ChristianSi
Copy link
Contributor

@pradyunsg I don't think so.

@eksortso
Copy link
Contributor Author

@pradyunsg I'm a little confused. How would the JSON equivalent be useful here?

@pradyunsg
Copy link
Member

@eksortso I Sorry for the confusion, I might've been a little too tired that day. :)

@pradyunsg pradyunsg closed this Feb 20, 2020
@pradyunsg pradyunsg reopened this Feb 20, 2020
@pradyunsg
Copy link
Member

And right now, as well, apparently.

@pradyunsg pradyunsg merged commit 83cc3b7 into toml-lang:master Feb 20, 2020
@eksortso eksortso deleted the i701_9_example branch February 20, 2020 06:23
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.

3 participants