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:
parent
28843a12c7
commit
9907f07602
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user