Avatar
exit status: 1 with stderr:<stdin>:2:5: error: cannot use optional chaining on non-optional value of type 'Int' x???? = 4 ~~~~^ <stdin>:3:7: warning: expression implicitly coerced from 'Int???' to 'Any' print(x) ^ <stdin>:3:7: note: force-unwrap the value to avoid this warning print(x) ^ !!! <stdin>:3:7: note: explicitly cast to 'Any' with 'as Any' to silence this warning print(x) ^ as Any