mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: disallow using builtin type names for const names (#16599)
This commit is contained in:
@ -263,7 +263,7 @@ fn sql_type_from_v(typ int) !string {
|
||||
'INT64'
|
||||
} else if typ in orm.float {
|
||||
'DOUBLE'
|
||||
} else if typ == orm.string {
|
||||
} else if typ == orm.type_string {
|
||||
'TEXT'
|
||||
} else if typ == -1 {
|
||||
'SERIAL'
|
||||
|
Reference in New Issue
Block a user