Why this fires¶
The source value already has the requested type, so the cast communicates no new intent and performs no work.
let count: int = 3
let copy = count as int // warning[TE840]Fix it¶
Remove the redundant as Type expression.
The source value already has the requested type, so `as Type` communicates no new intent and performs no work. Remove the redundant cast expression.