Currently, methodTypes are placed in a single GCT entry. We are having issues with parsing that in case there is a method types that spans multiple lines. One example of such method type, myMethWithParam, is listed below. This pull request separates each method type into an individual entry in a GCT file with a key name methodType-of:, followed by an actual method type name.
method myMethWithParam(myParam : interface{
m(param : MyType) -> Number
n -> String
}) -> String { myParam.n
Currently, methodTypes are placed in a single GCT entry. We are having issues with parsing that in case there is a method types that spans multiple lines. One example of such method type,
myMethWithParam
, is listed below. This pull request separates each method type into an individual entry in a GCT file with a key namemethodType-of:
, followed by an actual method type name.