Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Add support for variadic functions in container flow #643

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sauyon
Copy link
Contributor

@sauyon sauyon commented Dec 15, 2021

/cc @owen-mc

@sauyon sauyon requested a review from a team as a code owner December 15, 2021 04:46
@smowton
Copy link
Contributor

smowton commented Dec 15, 2021

Like the concept, but it doesn't compile: Expected a predicate with result but found 'ParameterNode.isParameterOf(Callable c, int i)', which is a predicate without result

@smowton
Copy link
Contributor

smowton commented Dec 15, 2021

Thinking about this further, I don't think the dataflow lib will accept us defining a store step that also transits a function boundary. Instead we should store into a synthetic node representing the array, then pass the array to the callee.

Java takes this approach, calling the synthetic node ImplicitVarargsArray.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants