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

parser: fix import's position

This commit is contained in:
Alexander Medvednikov
2020-03-11 18:52:51 +01:00
parent de7fed45dc
commit 4470252913
4 changed files with 2 additions and 20 deletions

View File

@ -999,12 +999,3 @@ fn good_type_name(s string) bool {
return true
}
// registration_date good
// registrationdate bad
fn (s &Scanner) validate_var_name(name string) {
/*
if name.len > 15 && !name.contains('_') {
s.error('bad variable name `$name`\n' + 'looks like you have a multi-word name without separating them with `_`' + '\nfor example, use `registration_date` instead of `registrationdate` ')
}
*/
}