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

fix the __ error message

This commit is contained in:
Alexander Medvednikov 2019-07-10 10:08:37 +02:00
parent 28843a12c7
commit 9907f07602

View File

@ -194,7 +194,7 @@ fn (p mut Parser) fn_decl() {
p.error('function names cannot contain uppercase letters, use snake_case instead')
}
if f.name.contains('__') {
p.error('function names cannot contain double underscores ("__"), use single underscores instead')
p.error('function names cannot contain double underscores, use single underscores instead')
}
}
// simple_name := f.name