Avatar
Avatar
swift59
exit status: 1 with <stdin>:5:25: error: 'if' may only be used as expression in return, throw, or as the source of an assignment let num3 = flag ? 1.0 : if flag { 1.0 } else { 0.5 } ^
treastrain / Tanaka.R 6/4/2023 4:07 PM
これは Swift 5.9 では許されないんでしょうか……