-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Purge using namespace from libsolidity/lsp and parsing #14493
Purge using namespace from libsolidity/lsp and parsing #14493
Conversation
364a446
to
bc5e267
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs one cosmetic fix but otherwise looks good.
bc5e267
to
3e9a52d
Compare
3e9a52d
to
f344dc1
Compare
tie(keyName, keyNameLocation) = expectIdentifierWithLocation(); | ||
expectToken(Token::DoubleArrow); | ||
ASTPointer<TypeName> valueType = parseTypeName(); | ||
ASTPointer<ASTString> valueName = make_shared<ASTString>(""); | ||
ASTPointer<ASTString> valueName = std::make_shared<ASTString>(""); | ||
SourceLocation valueNameLocation{}; | ||
if (m_scanner->currentToken() == Token::Identifier) | ||
tie(valueName, valueNameLocation) = expectIdentifierWithLocation(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm rebasing my PRs on top of this now and just noticed that there are quite a few instances of std::tie()
without std::
in this file. How does that even compile? Do we have a custom definition of tie()
somewhere? Or maybe using namespace std
in one of the headers?
Related: #14403