From a6bf20f3be95145ab617c5c8e22a804cc5e85377 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 29 Dec 2022 12:43:55 +0200 Subject: [PATCH] builtin: add .is_alias to FieldData too (part 1, unimplemented yet) --- vlib/builtin/builtin.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/builtin/builtin.v b/vlib/builtin/builtin.v index bdeac267a6..711beb4612 100644 --- a/vlib/builtin/builtin.v +++ b/vlib/builtin/builtin.v @@ -126,6 +126,7 @@ pub: is_map bool // `f map[string]int` , TODO is_chan bool // `f chan int` , TODO is_struct bool // `f Abc` where Abc is a struct , TODO + is_alias bool // `f MyInt` where `type MyInt = int`, TODO // indirections u8 // 0 for `f int`, 1 for `f &int`, 2 for `f &&int` , TODO }