An extra pair of braces and parentheses (and a try) makes it work:
try
let a = try maybeA() ?? { throw SomeError() }()