Fix some keyword errors
This commit is contained in:
@ -41,6 +41,10 @@ class TestSrvimpl : Example.TestServiceServer<int>
|
||||
throw new Exception("This is a remote error :)");
|
||||
}
|
||||
|
||||
public override Task<double> FunctionWithKeywords(double type, double static_, double event_, int ctx)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
class CopyTransportS2 : Example.JRpcTransport
|
||||
|
@ -52,6 +52,8 @@ service TestService {
|
||||
|
||||
|
||||
FunctionWithArrayAsParamAndReturn(values1: float[], values2: float[]): float[];
|
||||
|
||||
FunctionWithKeywords(type: float, static: float, event: float): float;
|
||||
}
|
||||
|
||||
type Test2 {
|
||||
@ -59,6 +61,12 @@ type Test2 {
|
||||
age: int;
|
||||
}
|
||||
|
||||
type TestKeywords {
|
||||
type: float;
|
||||
static: float;
|
||||
event: float;
|
||||
}
|
||||
|
||||
service SimpleTestService {
|
||||
@Description("asdasdasd")
|
||||
GetTest(name: string, age: int): Test2;
|
||||
|
Reference in New Issue
Block a user