mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: implement >= and <= (#7991)
This commit is contained in:
@@ -52,7 +52,7 @@ pub fn (node &FnDecl) stringify(t &table.Table, cur_mod string, m2a map[string]s
|
||||
}
|
||||
}
|
||||
f.write('fn $receiver$name')
|
||||
if name in ['+', '-', '*', '/', '%', '<', '>', '==', '!='] {
|
||||
if name in ['+', '-', '*', '/', '%', '<', '>', '==', '!=', '>=', '<='] {
|
||||
f.write(' ')
|
||||
}
|
||||
if node.is_generic {
|
||||
|
||||
Reference in New Issue
Block a user