Avatar
swift50 BOT 8/6/2019 2:09 AM
exit status: 1 with stderr:<stdin>:2:7: warning: expression implicitly coerced from 'Int?' to 'Any' print(a) ^ <stdin>:2:7: note: provide a default value to avoid this warning print(a) ^ ?? <#default value#> <stdin>:2:7: note: force-unwrap the value to avoid this warning print(a) ^ ! <stdin>:2:7: note: explicitly cast to 'Any' with 'as Any' to silence this warning print(a) ^ as Any <stdin>:4:7: warning: expression implicitly coerced from 'Optional<Int>' to 'Any' print(b) ^ <stdin>:4:7: note: provide a default value to avoid this warning print(b) ^ ?? <#default value#> <stdin>:4:7: note: force-unwrap the value to avoid this warning print(b) ^ ! <stdin>:4:7: note: explicitly cast to 'Any' with 'as Any' to silence this warning print(b) ^ as Any <stdin>:4:7: error: variable 'b' used before being initialized print(b) ^ <stdin>:3:5: note: variable defined here var b: Optional<Int> ^