Avatar
Avatar
omochimetaru
@swift-5.9.2 func main() { var a = 1 let b = consume a }
exit status: 1 with <stdin>:2:7: warning: variable 'a' was never mutated; consider changing to 'let' constant var a = 1 ~~~ ^ let <stdin>:3:7: warning: initialization of immutable value 'b' was never used; consider replacing with assignment to '_' or removing it let b = consume a ~~~~^ _ <stdin>:3:19: error: 'consume' applied to value that the compiler does not support. This is a compiler bug. Please file a bug with a small example of the bug let b = consume a ^