ci: fix v fmt test, by formatting cgen.v and atypes.v
parent
604b28b1c5
commit
c7e0a27e0d
|
@ -15,8 +15,8 @@ import strings
|
|||
|
||||
pub type Type = int
|
||||
|
||||
pub type TypeInfo = Alias | Array | ArrayFixed | Chan | Enum | FnType | GenericStructInst |
|
||||
Interface | Map | MultiReturn | Struct | SumType | Aggregate
|
||||
pub type TypeInfo = Aggregate | Alias | Array | ArrayFixed | Chan | Enum | FnType | GenericStructInst |
|
||||
Interface | Map | MultiReturn | Struct | SumType
|
||||
|
||||
pub enum Language {
|
||||
v
|
||||
|
@ -762,10 +762,7 @@ pub mut:
|
|||
fn (f &Field) equals(o &Field) bool {
|
||||
// TODO: should all of those be checked ?
|
||||
return f.name == o.name &&
|
||||
f.typ == o.typ &&
|
||||
f.is_pub == o.is_pub &&
|
||||
f.is_mut == o.is_mut &&
|
||||
f.is_global == o.is_global
|
||||
f.typ == o.typ && f.is_pub == o.is_pub && f.is_mut == o.is_mut && f.is_global == o.is_global
|
||||
}
|
||||
|
||||
pub struct Array {
|
||||
|
|
Loading…
Reference in New Issue