Descriptiongo/parser: report error if ParseExpr argument contains extra tokens
This partly addresses issue 6099 where a gofmt rewrite is behaving
unexpectedly because the provided rewrite term is not a valid expression
but is silently consumed anyway.
Patch Set 1 #Patch Set 2 : diff -r 0e9c42cf0834 https://code.google.com/p/go/ #Patch Set 3 : diff -r 0e9c42cf0834 https://code.google.com/p/go/ #Patch Set 4 : diff -r 3512bf47df7e https://code.google.com/p/go/ #
MessagesTotal messages: 4
|