fix: remove misleading error note for failed array coercions
This commit is contained in:
committed by
Andrew Kelley
parent
9b292c0949
commit
18d412ab2f
@@ -0,0 +1,11 @@
|
||||
export fn a() void {
|
||||
const x = [_]u16{ 1, 2, 3 };
|
||||
const y: [3]i32 = x;
|
||||
_ = y;
|
||||
}
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// 3:23: error: expected type '[3]i32', found '[3]u16'
|
||||
Reference in New Issue
Block a user