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

[DOCS] Change code block into proper JSON #11591

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Conversation

hrkrshnn
Copy link
Member

Reran solc --storage-layout, so the AST ids changed.

Reran `solc --storage-layout`, so the AST ids changed.
@@ -240,66 +240,66 @@ value and reference types, types that are encoded packed, and nested types.

.. code:: json

"storageLayout": {
Copy link
Member Author

Choose a reason for hiding this comment

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

The issue was that this wasn't well-defined JSON.

This is the output of solc --storage-layout of the above code. It doesn't have "storageLayout" key, so, skipping it.

Copy link
Member

@cameel cameel left a comment

Choose a reason for hiding this comment

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

Well, it's still not proper JSON (the outer {} is missing) but if Sphinx accepts that then it's fine. EDIT: Oh, sorry it does have the outer {}.

BTW I checked if #11477 was rebased on top of it last time I reviewed it to avoid this. Weird that it still managed to break develop.

@cameel
Copy link
Member

cameel commented Jun 28, 2021

Ah, we did have problems with running CI in #11477. So the problem was there, just not noticed.

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

2 participants