Autogenerated code fails to compile when the icons are using a reserved word
agarcia-wish opened this issue · comments
Here are a few examples for Swift:
static var class: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
static var extension: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
static var return: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
Expected:
static var `class`: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
static var `extension`: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
static var `return`: UIImage { UIImage(named: #function, in: BundleProvider.bundle, compatibleWith: nil)! }
I've fixed the issue. Please update to the latest version.