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

vfmt: make vlib/v/table/atypes.v vfmt-able

This commit is contained in:
Delyan Angelov 2020-10-03 11:48:12 +03:00
parent c9574ae7d7
commit 7b034a54e3

View File

@ -759,9 +759,9 @@ pub mut:
} }
fn (f &Field) equals(o &Field) bool { fn (f &Field) equals(o &Field) bool {
// TODO: should all of those be checked ?
return f.name == o.name && return f.name == o.name &&
f.typ == o.typ && f.typ == o.typ &&
// TODO Should those be checked ?
f.is_pub == o.is_pub && f.is_pub == o.is_pub &&
f.is_mut == o.is_mut && f.is_mut == o.is_mut &&
f.is_global == o.is_global f.is_global == o.is_global