commit | 2049c00b9115c771bb9f6ab37d08dfa2d1990c31 | [log] [tgz] |
---|---|---|
author | Shyam Jayaraman <bjornick@google.com> | Mon Apr 20 12:29:46 2015 -0700 |
committer | Shyam Jayaraman <bjornick@google.com> | Mon Apr 20 12:30:07 2015 -0700 |
tree | 2ceb16d625ce81fee511b1ff149359d14f73ccdd | |
parent | 5e47bdfe622856d444a8cc3399bb5526611fb3db [diff] |
vdl/js: Add serverCall to the generated stub. Change-Id: I537e13747e9db15944b7e6260d526cbaf72a687c
diff --git a/lib/vdl/codegen/javascript/gen.go b/lib/vdl/codegen/javascript/gen.go index b6104a4..787b785 100644 --- a/lib/vdl/codegen/javascript/gen.go +++ b/lib/vdl/codegen/javascript/gen.go
@@ -229,7 +229,7 @@ // Returns a Not Implemented stub for the method func generateMethodStub(method *compile.Method) string { - args := "ctx" + args := "ctx, serverCall" for _, arg := range method.InArgs { args += fmt.Sprintf(", %s", arg.Name) }