HomePhorge

Fix #2107 - flatten resource references arrays properly
62dad7a5f87fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix #2107 - flatten resource references arrays properly

Resource parameters of the form
[Res[a], Res[a,b]] ends being evaluated as
[Res[a], [ Res[a], Res[b] ]
This last form was not flattened when transfomed into RAL
type, which in turn prevented the sub array to be converted
in regular resource references.
Thus the type was choking when encountering those native
parser references instead of usual resource reference.
The fix consists in flattening array of references before
transformation to trans objects for RAL.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>

Details

Provenance
Brice Figureau <brice-puppet@daysofwonder.com>Authored on
James Turnbull <james@lovedthanlost.net>Committed on Mar 26 2009, 2:09 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcbee426854c0: Fix #2101 - Return to recurse=0 == no recursion behavior
Branches
Unknown
Tags
Unknown

Event Timeline

James Turnbull <james@lovedthanlost.net> committed rPU62dad7a5f87f: Fix #2107 - flatten resource references arrays properly (authored by Brice Figureau <brice-puppet@daysofwonder.com>).Mar 26 2009, 2:09 PM