binding-tools-for-swift icon indicating copy to clipboard operation
binding-tools-for-swift copied to clipboard

SwiftInterfaceParser Probably can't handle enums with escaped labels in single tuple

Open stephen-hawley opened this issue 4 years ago • 0 comments

Probably this won't work:

public enum Foo {
case a(`:`: Int)
case b(`,`: Bool)
}

To do this, you should probably crack open the actual tuple parse tree instead of doing string manipulation.

stephen-hawley avatar Feb 22 '21 20:02 stephen-hawley