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

cgen: run vfmt to silence ./v fmt -verify

This commit is contained in:
Delyan Angelov 2020-08-13 21:22:52 +03:00
parent a62307f711
commit 8580a0bcd7

View File

@ -4576,7 +4576,7 @@ fn (mut g Gen) interface_table() string {
cast_functions.write('// Casting functions for interface "$interface_name"')
mut methods_wrapper := strings.new_builder(100)
methods_wrapper.writeln('// Methods wrapper for interface "$interface_name"')
mut already_generated_mwrappers := map[string]bool
mut already_generated_mwrappers := map[string]bool{}
for i, st in inter_info.types {
// cctype is the Cleaned Concrete Type name, *without ptr*,
// i.e. cctype is always just Cat, not Cat_ptr: