dusk: cover analyser errors and recursivly fetch type alias type

This commit is contained in:
Ali Chraghi 2023-03-07 18:34:57 +03:30 committed by Stephen Gutekanst
parent 96ad6503d9
commit 0a790a38f3
3 changed files with 180 additions and 32 deletions

View file

@ -15,10 +15,10 @@ pub const Extension = enum {
pub const ErrorMsg = struct {
loc: Token.Loc,
msg: []const u8,
note: ?Note,
note: ?Note = null,
pub const Note = struct {
loc: ?Token.Loc,
loc: ?Token.Loc = null,
msg: []const u8,
pub fn create(