Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.3.2
-
None
-
None
Description
Take this code:
project.layout[:source :main] = project.layout.expand(:source, 'my_main')
project.layout[:source] = 'my_source'
I would expect project.layout.expand(:source, :main) to then expand to my_source/my_main. It doesn't, it expands to source/my_main.
Obviously the above is just a toy example and can be solved by reordering the lines, however in a complex buildfile and extensions, this is not so easy.