[PUP-7094] The parser dump output formatting is off Created: 2017/01/12 Updated: 2017/05/31 Resolved: 2017/04/20
|Reporter:||Rune Juhl Jacobsen||Assignee:||Unassigned|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Team:||Puppet Developer Experience|
|Sprint:||Forge - To Accept|
|QA Risk Assessment:||Needs Assessment|
In testing a small parser for the AST that `puppet parser dump` outputs I stumbled upon the following oddity:
Note the missing whitespace in the AST between the variable $y and the string. The only difference between the variables $x and $y in the Puppet .pp file is that the second line of the latter string begins with a space.
While it's not often you see multiline strings in Puppet (in my experience), it should be supported as per https://docs.puppet.com/puppet/4.8/lang_data_string.html#double-quoted-strings
|Comment by Henrik Lindberg [ 2017/01/13 ]|
Did you also notice a problem in what the parser actually produced - i.e. does it evaluate correctly?
|Comment by Rune Juhl Jacobsen [ 2017/01/20 ]|
Anyway, thank you for your help.
|Comment by Eric Sorenson [ 2017/04/20 ]|
Closing as not-a-bug.