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

checker: make an error using non pub fns from other modules

This commit is contained in:
Delyan Angelov
2020-05-27 12:00:08 +03:00
parent ebbf42dadb
commit 481f103dc9
3 changed files with 4 additions and 8 deletions

View File

@ -940,10 +940,7 @@ pub fn (s string) trim_suffix(str string) string {
return s
}
// fn print_cur_thread() {
// //C.printf("tid = %08x \n", pthread_self());
// }
fn compare_strings(a, b &string) int {
pub fn compare_strings(a, b &string) int {
if a.lt(b) {
return -1
}