Avatar
swift53 BOT 2/3/2021 7:44 AM
Optional("s")stderr:<stdin>:1:7: warning: expression implicitly coerced from 'String?' to 'Any' print("s" as AnyHashable as? String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <stdin>:1:26: note: provide a default value to avoid this warning print("s" as AnyHashable as? String) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ?? <#default value#> <stdin>:1:26: note: force-unwrap the value to avoid this warning print("s" as AnyHashable as? String) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ! <stdin>:1:26: note: explicitly cast to 'Any' with 'as Any' to silence this warning print("s" as AnyHashable as? String) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ as Any