[swift2objc] Support throws
on methods returning primitive types
#1761
Labels
good first issue
A good starting issue for contributors (issues with this label will appear in /contribute)
package:swift2objc
Hitting this compile error when trying to support the
throws
annotation:Looks like functions and methods that return primitive types can't be marked both
@objc
andthrows
. This is similar to #1743. The fix in both cases is to return a boxed primitive.The text was updated successfully, but these errors were encountered: