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

comp_for: allow checking full mehod and arg types (#5997)

This commit is contained in:
spaceface777
2020-08-27 15:00:44 +02:00
committed by GitHub
parent 7476428def
commit eff319f869
6 changed files with 142 additions and 95 deletions

View File

@@ -291,26 +291,25 @@ fn __print_assert_failure(i &VAssertMetaInfo) {
}
}
pub struct MethodAttr {
pub struct MethodArgs {
pub:
value string
method string
Type int
}
pub struct FunctionData {
pub:
name string
attrs []string
ret_type string
@type int
name string
attrs []string
args []MethodArgs
ReturnType int
Type int
}
pub struct FieldData {
pub:
name string
attrs []string
typ string
name string
attrs []string
is_pub bool
is_mut bool
@type int
Type int
}