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

fmt: keep comments after imports (#8483)

This commit is contained in:
Lukas Neubert
2021-02-01 14:45:08 +01:00
committed by GitHub
parent 44ec9e3ebc
commit 8755f40430
9 changed files with 35 additions and 18 deletions

View File

@@ -283,7 +283,8 @@ pub:
mod_pos token.Position
alias_pos token.Position
pub mut:
syms []ImportSymbol // the list of symbols in `import {symbol1, symbol2}`
syms []ImportSymbol // the list of symbols in `import {symbol1, symbol2}`
comments []Comment
}
// import symbol,for import {symbol} syntax