1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: add .is_alias to FieldData too (part 1, unimplemented yet)

This commit is contained in:
Delyan Angelov 2022-12-29 12:43:55 +02:00
parent f4b110b1a4
commit a6bf20f3be
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -126,6 +126,7 @@ pub:
is_map bool // `f map[string]int` , TODO is_map bool // `f map[string]int` , TODO
is_chan bool // `f chan int` , TODO is_chan bool // `f chan int` , TODO
is_struct bool // `f Abc` where Abc is a struct , 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 indirections u8 // 0 for `f int`, 1 for `f &int`, 2 for `f &&int` , TODO
} }