Skip to content

Remove Grammar Ambiguities#18531

Closed
jdconrad wants to merge 24 commits intoelastic:masterfrom
jdconrad:antlragain
Closed

Remove Grammar Ambiguities#18531
jdconrad wants to merge 24 commits intoelastic:masterfrom
jdconrad:antlragain

Conversation

@jdconrad
Copy link
Copy Markdown
Contributor

Title plus a bit of clean up.

import org.elasticsearch.painless.MethodWriter;

/**
* Represents a variable load/store.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this really what it is?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Copy and paste error. Fixed!

@rmuir
Copy link
Copy Markdown
Contributor

rmuir commented May 23, 2016

I love that this is fixed, thanks for doing all this work to do it the clean way, it will be worth it! I left minor comments but looks great. With antlr 4 this is the best we can do, fail on this stuff in tests, and test everything. See this explanation: https://groups.google.com/d/msg/antlr-discussion/z8otgVzqB7I/IAHEU9keZLgJ

@jdconrad
Copy link
Copy Markdown
Contributor Author

@rmuir Thanks for the review and all the help debugging! Glad you caught the issue.

@jdconrad jdconrad closed this in 1424f09 May 23, 2016
@jdconrad
Copy link
Copy Markdown
Contributor Author

This was merged, but squashed due to 30 unimportant commit messages.

@jdconrad jdconrad deleted the antlragain branch June 7, 2016 23:16
@clintongormley clintongormley added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache and removed :Plugin Lang Painless labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v5.0.0-alpha3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants