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

checker: disallow pub in main

This commit is contained in:
Enzo Baldisserri
2020-04-19 00:07:57 +02:00
committed by GitHub
parent de9f302412
commit 57c142b993
12 changed files with 193 additions and 67 deletions

View File

@@ -235,7 +235,7 @@ fn find_working_diff_command() ?string {
return error('no working diff command found')
}
pub fn (f FormatOptions) str() string {
fn (f FormatOptions) str() string {
return 'FormatOptions{ is_l: $f.is_l' + ' is_w: $f.is_w' + ' is_diff: $f.is_diff' + ' is_verbose: $f.is_verbose' +
' is_all: $f.is_all' + ' is_worker: $f.is_worker' + ' is_debug: $f.is_debug' + ' }'
}