mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: add missing imports automatically
This commit is contained in:
@@ -24,14 +24,16 @@ fn (d Dog) name() string {
|
||||
|
||||
fn test_todo() {}
|
||||
|
||||
/*
|
||||
interface Speaker {
|
||||
name ()string
|
||||
speak()}
|
||||
speak()
|
||||
}
|
||||
|
||||
/*
|
||||
interface Speak2er {
|
||||
name ()string
|
||||
speak()}
|
||||
speak()
|
||||
}
|
||||
|
||||
struct Foo {
|
||||
speaker Speaker
|
||||
|
||||
Reference in New Issue
Block a user