binding-tools-for-swift
binding-tools-for-swift copied to clipboard
SwiftInterfaceParser Probably can't handle enums with escaped labels in single tuple
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.