mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
more vfmt fixes
This commit is contained in:
@@ -97,11 +97,6 @@ fn (p mut Parser) get_type2() Type {
|
||||
p.check(.amp)
|
||||
}
|
||||
typ += p.lit
|
||||
if !p.is_struct_init {
|
||||
// Otherwise we get `foo := FooFoo{` because `Foo` was already
|
||||
// generated in name_expr()
|
||||
p.fgen(p.lit)
|
||||
}
|
||||
// C.Struct import
|
||||
if p.lit == 'C' && p.peek() == .dot {
|
||||
p.next()
|
||||
|
||||
Reference in New Issue
Block a user