Conversation
|
If you add |
6de5f25 to
4522978
Compare
test/libsolidity/SolidityParser.cpp
Outdated
| }; | ||
|
|
||
|
|
||
| for (const auto& keyword : keywords) { |
There was a problem hiding this comment.
Coding style: no space in front of : except in a ? b : c.
There was a problem hiding this comment.
And { on a line of its own.
There was a problem hiding this comment.
Thanks for pointing that out :)
|
Please also add a line to |
|
Looks good! I'm not adding a positive review on purpose, so we do not accidentally merge this PR. |
test/libsolidity/SolidityParser.cpp
Outdated
| CHECK_PARSE_ERROR(text, "Expected identifier"); | ||
| } | ||
|
|
||
| BOOST_AUTO_TEST_CASE(keyword_is_reserved) |
There was a problem hiding this comment.
Can this test case be extracted and merged with current keywords?
axic
left a comment
There was a problem hiding this comment.
There is a section in the documentation listing the reserved keywords, that should be updated too.
eb163bc to
1a5e5f0
Compare
1a5e5f0 to
9f30e74
Compare
|
Please rebase since #3633 was merged. |
|
We should also add |
Please do that and do not include it in the commit messages. |
d03676d to
8575b5b
Compare
8575b5b to
f62820c
Compare
1a680bf to
8e1e611
Compare
|
I removed the |
5cf64ca to
566b753
Compare
|
@chriseth I find the list of new keywords (and especially |
10d2a1e to
911cead
Compare
|
100%: constructor and emit |
911cead to
c6434ea
Compare
c6434ea to
2106f82
Compare
2106f82 to
521f5fc
Compare
|
Rebased. |
|
@axic We still need to decide whether we want to keep this PR at all or which subset to keep. |
|
I think we should just merge this. The only debatable one I think is |
|
Also if this is merged first and |
|
It seems |
|
I'd take a shortcut and merge the non-contentious ones here and open a new PR for the rest. |
521f5fc to
fb9dff1
Compare
|
Removed |
fb9dff1 to
f35b5e7
Compare
|
Confirmed against the issue. |
f35b5e7 to
e4b7b21
Compare
|
Removed |
Closes #2182.