Issue #22365 has been updated by Henrik Lindberg.

Target version changed from 3.4.0 to 3.5.0

This particular problem was caused by the validation logic to be on the wrong 
form (typo in the method that that should validate the SelectorExpression). 
This made the faulty expression on the LHS of
the collect get as far as to transformation where it blew up without proper 
location information.

The selector expression validation fix will be available in 3.5 as the support 
or the new evaluator is pulled in. (It is too late in the game for 3.4.0).

----------------------------------------
Bug #22365: All errors created by future parser ast_transformer lack line 
numbers
https://projects.puppetlabs.com/issues/22365#change-100145

* Author: Erik Dalén
* Status: Accepted
* Priority: Normal
* Assignee: Henrik Lindberg
* Category: parser
* Target version: 3.5.0
* Affected Puppet version: 3.2.4
* Keywords: future_parser
* Branch: 
----------------------------------------
Errors created by the ast transformer in the future parser have the wrong type, 
so they lack line numbers. An example is:

    puppet apply --parser=future -e 'File<||> ? {default=>foo}'


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to