Open wmanshu opened 5 years ago
public func example(s: inout someStruct) // does not compile func example(s: inout someStruct)// compiles
error: Function 'example' cannot have dynamic parameters
Function 'example' cannot have dynamic parameters
But Wei works fine in both. Is this designed on purpose.
error:
Function 'example' cannot have dynamic parameters