Skip to content

Commit

Permalink
re-enable action functions synthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhw0123 committed Apr 22, 2022
1 parent 03a1c57 commit 87f5f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/sample-synthetic-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ export default async function sampler(deviceClass : Ast.ClassDef,
const func = deviceClass.queries[fname] || deviceClass.actions[fname];
const typeCounts = countArgTypes(func);
for (const argDef of func.iterateArguments()) {
if (argDef.direction !== Ast.ArgDirection.OUT)
continue;
// if (argDef.direction !== Ast.ArgDirection.OUT)
// continue;
if (argDef.name.indexOf('.') >= 0)
continue;
const sampleValues = await retrieveSampleValues(deviceClass, sampleMeta, fname, argDef, args.sampleSize);
Expand Down

0 comments on commit 87f5f5d

Please sign in to comment.