[augeas-devel] Re: [Augeas] #4: Put of lenses with '?' is incorrect
Augeas
trac at fedorahosted.org
Wed Sep 3 17:54:41 UTC 2008
#4: Put of lenses with '?' is incorrect
---------------------+------------------------------------------------------
Reporter: lutter | Owner: lutter
Type: defect | Status: closed
Priority: major | Milestone: next
Component: Augeas | Version: devel
Resolution: fixed | Keywords:
---------------------+------------------------------------------------------
Changes (by lutter):
* status: new => closed
* resolution: => fixed
Comment:
This has been fixed with cset 635:7a4c42128118
The Pass_put_maybe test above is rejected as a type error, since the put
direction of '?' has no way to know whether to apply the enclosed lens or
not.
The typechecker now requires that in the construct 'l?', the lens l either
produces nodes in the tree or that l contains a 'store' unconditionally.
The means that constructs like '(del /[ \t]*/ "" . store /[a-z]+/)?' are
legal.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/4#comment:3>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list