Good day,
I have a simple class defined like so:
class MyUUID {
var _uuid: java.util.UUID
public init?() {
_uuid = java.util.UUID.randomUUID()
}
}
but I get an error in the init? that says ‘Variable expected’. If I make it a non failable initializer, it works. I also tested in an Xcode playground, and it works there either way. I know your intention is that Silver is not 100% drop-in replacement for Swift, but this seems like a simple case that ought to work.
Thank you,
Tyler
PS Marc Hoffman, I uploaded a simple test project to Google Drive if you want to take a look.