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:
@@ -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 // !=
|
||||
|
Reference in New Issue
Block a user