╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ compile_errors.zig ───────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭ find file ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ ╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │ │ │http│ ssh │ │ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
242 case.addError("const c = '\x01';", &[_][]const u8{ 243 ":1:12: error: character literal contains invalid byte: '\\x01'", 244 }); 245 } 246 247 { 248 const case = ctx.obj("invalid byte at start of token", b.graph.host); 249 250 case.addError("x = \x00Q", &[_][]const u8{ 251 ":1:5: error: expected expression, found 'invalid token'", 252 }); 253 } 254 } 255