Improve error messages for break type coercion

This commit is contained in:
John Schmidt
2023-02-25 20:44:53 +01:00
committed by Veikka Tuominen
parent 8642770eff
commit ec445fb6b8
9 changed files with 199 additions and 67 deletions

View File

@@ -25,3 +25,5 @@ export fn entry() void {
// target=native
//
// :14:17: error: incompatible types: '*align(1:0:1) u2' and '*align(2:8:2) u2'
// :15:14: note: type '*align(1:0:1) u2' here
// :16:14: note: type '*align(2:8:2) u2' here