Skip to content

Commit

Permalink
Change str.split to seq.split (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlade-anz authored Jun 23, 2020
1 parent 97ee955 commit 2a3283d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/arrai/grpc_client.arrai
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
let param_name = \p p("type")("typeRef")("ref")("appname")("part").a >> .s;

# kind of hardcoded binding assuming the return statment is in the format "ok <: (result)"
let ret_param = \statements statements >> //str.split(.("ret")("payload").s, " ")(2);
let ret_param = \statements statements >> //seq.split(.("ret")("payload").s, " ")(2);

$`
// Package ${jsontool.attr("go_package", app)} ...
Expand Down

0 comments on commit 2a3283d

Please sign in to comment.