ci: fix v fmt test, by formatting cgen.v and atypes.v

pull/6299/head
Delyan Angelov 2020-10-11 10:00:53 +03:00
parent 604b28b1c5
commit c7e0a27e0d
2 changed files with 5 additions and 8 deletions

View File

@ -15,8 +15,8 @@ import strings
pub type Type = int pub type Type = int
pub type TypeInfo = Alias | Array | ArrayFixed | Chan | Enum | FnType | GenericStructInst | pub type TypeInfo = Aggregate | Alias | Array | ArrayFixed | Chan | Enum | FnType | GenericStructInst |
Interface | Map | MultiReturn | Struct | SumType | Aggregate Interface | Map | MultiReturn | Struct | SumType
pub enum Language { pub enum Language {
v v
@ -762,10 +762,7 @@ pub mut:
fn (f &Field) equals(o &Field) bool { fn (f &Field) equals(o &Field) bool {
// TODO: should all of those be checked ? // 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 && f.is_pub == o.is_pub && f.is_mut == o.is_mut && f.is_global == o.is_global
f.is_pub == o.is_pub &&
f.is_mut == o.is_mut &&
f.is_global == o.is_global
} }
pub struct Array { pub struct Array {