mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
table: run vfmt over atypes.v
This commit is contained in:
parent
7fb739ebcf
commit
b7121786a5
@ -764,8 +764,7 @@ fn (f &Field) equals(o &Field) bool {
|
|||||||
// to (mut/not mut), but otherwise equal fields; some other new checks are needed:
|
// to (mut/not mut), but otherwise equal fields; some other new checks are needed:
|
||||||
// - if node is declared mut, and we mutate node.stmts, all stmts fields must be mutable
|
// - if node is declared mut, and we mutate node.stmts, all stmts fields must be mutable
|
||||||
// - same goes for pub and global, if we call the field from another module
|
// - same goes for pub and global, if we call the field from another module
|
||||||
return f.name == o.name &&
|
return f.name == o.name && f.typ == o.typ && f.is_pub == o.is_pub && f.is_global == o.is_global
|
||||||
f.typ == o.typ && f.is_pub == o.is_pub && f.is_global == o.is_global
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Array {
|
pub struct Array {
|
||||||
|
Loading…
Reference in New Issue
Block a user