When parsing a sequence of tokens beginning with {, it will hit an assert and crash if the token afterwards is not an identifier. Instead of this, return a more verbose error as seen elsewhere in the function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I could not find the file that includes the test case for other similar errors (such as the closing curly brace). It seems to not exist.
Should I create a new test file for this?
Comment Actions
Yes please, if you can set it up handling this case then we can add more complete test coverage in the future.
Comment Actions
I will need someone to commit this change for me. I do not have permission to commit to the svn repo.