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

fmt: format long sum-types with a line for each type (#11461)

This commit is contained in:
Enzo
2021-09-10 19:56:55 +02:00
committed by GitHub
parent 5c4385a472
commit c8471528ce
8 changed files with 182 additions and 34 deletions

View File

@@ -37,8 +37,20 @@ pub const (
string_max_len = 2048
)
pub type Primitive = InfixType | bool | byte | f32 | f64 | i16 | i64 | i8 | int | string |
time.Time | u16 | u32 | u64
pub type Primitive = InfixType
| bool
| byte
| f32
| f64
| i16
| i64
| i8
| int
| string
| time.Time
| u16
| u32
| u64
pub enum OperationKind {
neq // !=